Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.Volumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.Volumes,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_Volumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.Volumes,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_Volumes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.608/1.608, allocations: 223.3 MB / 240 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8863/0.8863, allocations: 89.66 MB / 380.7 MB, free: 11.4 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.0003853, allocations: 13.12 kB / 460.1 MB, free: 24.39 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1704, allocations: 68.83 MB / 0.5166 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Volumes): time 1.178/1.349, allocations: 316.5 MB / 0.8257 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.05092/1.4, allocations: 36.99 MB / 0.8618 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008359/1.408, allocations: 62.72 kB / 0.8619 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.008674/1.417, allocations: 2.18 MB / 0.864 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.02361/1.441, allocations: 6.73 MB / 0.8706 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01784/1.458, allocations: 4.506 MB / 0.875 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01715/1.476, allocations: 10.15 MB / 0.8849 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00362/1.479, allocations: 0.924 MB / 0.8858 GB, free: 25.2 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01507/1.494, allocations: 5.104 MB / 0.8908 GB, free: 25.09 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00938/1.504, allocations: 3.479 MB / 0.8942 GB, free: 24.46 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002449/1.506, allocations: 209.3 kB / 0.8944 GB, free: 24.46 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0229/1.529, allocations: 7.273 MB / 0.9015 GB, free: 23.12 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.003205/1.532, allocations: 1.286 MB / 0.9027 GB, free: 22.72 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.003414/1.536, allocations: 0.9549 MB / 0.9037 GB, free: 22.69 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01568/1.552, allocations: 6.855 MB / 0.9104 GB, free: 19.68 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/1.552, allocations: 3 kB / 0.9104 GB, free: 19.68 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.958e-06/1.552, allocations: 0 / 0.9104 GB, free: 19.68 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002825/1.552, allocations: 0 / 0.9104 GB, free: 19.68 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 995 * Number of variables: 995 Notification: Performance of Generate backend data structure: time 0.0146/1.567, allocations: 5.304 MB / 0.9155 GB, free: 16.63 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/1.567, allocations: 8.844 kB / 0.9155 GB, free: 16.63 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002181/1.569, allocations: 0.5249 MB / 0.9161 GB, free: 16.48 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01397/1.583, allocations: 1.272 MB / 0.9173 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005541/1.588, allocations: 2.156 MB / 0.9194 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000311/1.589, allocations: 295.9 kB / 0.9197 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001203/1.59, allocations: 415.8 kB / 0.9201 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01037/1.6, allocations: 5.048 MB / 0.925 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.93e-05/1.6, allocations: 1.781 kB / 0.925 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006108/1.601, allocations: 166.8 kB / 0.9252 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004349/1.602, allocations: 319.8 kB / 0.9255 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007072/1.609, allocations: 4.26 MB / 0.9296 GB, free: 7.152 MB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04221/1.651, allocations: 22.46 MB / 0.9516 GB, free: 3.465 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006621/1.658, allocations: 3.245 MB / 0.9547 GB, free: 1.383 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004122/1.662, allocations: 1.995 MB / 0.9567 GB, free: 168 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01859/1.68, allocations: 11.07 MB / 0.9675 GB, free: 5.758 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.372e-05/1.68, allocations: 99.16 kB / 0.9676 GB, free: 5.695 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=390): time 6.502e-06/1.68, allocations: 6.297 kB / 0.9676 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of matching and sorting (n=390): time 0.01755/1.698, allocations: 8.644 MB / 0.976 GB, free: 14.32 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002139/1.698, allocations: 274.9 kB / 0.9763 GB, free: 14.01 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004748/1.703, allocations: 2.86 MB / 0.9791 GB, free: 11.94 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0008362/1.704, allocations: 105.5 kB / 0.9792 GB, free: 11.89 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.00181/1.706, allocations: 1.717 MB / 0.9809 GB, free: 10.94 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002139/1.708, allocations: 1.355 MB / 0.9822 GB, free: 9.781 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002929/1.708, allocations: 81.67 kB / 0.9823 GB, free: 9.766 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000284/1.709, allocations: 462.1 kB / 0.9827 GB, free: 9.367 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002709/1.711, allocations: 1.521 MB / 0.9842 GB, free: 8.41 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003339/1.715, allocations: 2.169 MB / 0.9863 GB, free: 6.656 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00336/1.718, allocations: 1.804 MB / 0.9881 GB, free: 5.641 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.676e-05/1.718, allocations: 8 kB / 0.9881 GB, free: 5.633 MB / 0.67 GB Notification: Performance of matching and sorting (n=520) (initialization): time 0.00939/1.727, allocations: 5.02 MB / 0.993 GB, free: 2.188 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.923e-05/1.727, allocations: 12 kB / 0.993 GB, free: 2.176 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.571e-05/1.727, allocations: 16.47 kB / 0.993 GB, free: 2.16 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002142/1.73, allocations: 0.5989 MB / 0.9936 GB, free: 1.613 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00327/1.733, allocations: 0.825 MB / 0.9944 GB, free: 0.8711 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01774/1.751, allocations: 24.38 MB / 1.018 GB, free: 7.727 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004558/1.755, allocations: 487.6 kB / 1.019 GB, free: 7.309 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001007/1.756, allocations: 237.6 kB / 1.019 GB, free: 7.125 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (478): * Single equations (assignments): 451 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002301/1.759, allocations: 0.7524 MB / 1.02 GB, free: 6.664 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001314/1.76, allocations: 411.1 kB / 1.02 GB, free: 6.258 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01114/1.771, allocations: 5.952 MB / 1.026 GB, free: 1.914 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.17e-05/1.771, allocations: 43.95 kB / 1.026 GB, free: 1.871 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-05/1.771, allocations: 8 kB / 1.026 GB, free: 1.863 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.29e-05/1.771, allocations: 19.94 kB / 1.026 GB, free: 1.844 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01755/1.789, allocations: 9.711 MB / 1.035 GB, free: 10.08 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.088e-05/1.789, allocations: 4 kB / 1.035 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002701/1.792, allocations: 0.6248 MB / 1.036 GB, free: 9.449 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00372/1.795, allocations: 1.005 MB / 1.037 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004704/1.796, allocations: 147.9 kB / 1.037 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02016/1.816, allocations: 30.37 MB / 1.067 GB, free: 7.176 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/1.816, allocations: 8.25 kB / 1.067 GB, free: 7.168 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0131/1.829, allocations: 7.297 MB / 1.074 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001954/1.831, allocations: 0.5641 MB / 1.074 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001283/1.832, allocations: 84 kB / 1.075 GB, free: 14.99 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006363/1.839, allocations: 383.2 kB / 1.075 GB, free: 14.62 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009851/1.84, allocations: 307.3 kB / 1.075 GB, free: 14.32 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008626/1.841, allocations: 227.8 kB / 1.075 GB, free: 14.1 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003178/1.844, allocations: 1.99 MB / 1.077 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2e-07/1.844, allocations: 3.938 kB / 1.077 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.008571/1.852, allocations: 2.352 MB / 1.08 GB, free: 9.766 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 48 (source.outlet.m_flow,sink.inlet.m_flow,flexVolume1.M,flexVolume1.U_med,flexVolume1.m_flow_in,volume.M,volume.U_med,volumeMix.M,volumeMix.MXi[1],volumeMix.MXi[2],volumeMix.U_med,flowResistance2.inlet.m_flow,flowResistance3.inlet.m_flow,flowResistance4.inlet.m_flow,volumeMix1.M,volumeMix1.MXi[1],volumeMix1.MXi[2],volumeMix1.U_med,flowResistance5.inlet.m_flow,flowResistance6.inlet.m_flow,flowResistance8.inlet.m_flow,heatportVolume1.M,heatportVolume1.U_med,flowResistance7.inlet.m_flow,heatportVolume2.M,heatportVolume2.U_med,flowResistance9.inlet.m_flow,heatportVolume.M,heatportVolume.U_med,flowResistance.inlet.m_flow,flowResistance1.inlet.m_flow,heatportVolume3.M,heatportVolume3.U_med,volumeMix2.M,volumeMix2.MXi[1],volumeMix2.MXi[2],volumeMix2.U_med,volume1.M,volume1.U_med,flowResistance10.inlet.m_flow,flowResistance11.inlet.m_flow,volumeMix3.M,volumeMix3.MXi[1],volumeMix3.MXi[2],volumeMix3.U_med,flowResistance12.inlet.m_flow,flowResistance13.inlet.m_flow,flowResistance14.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (330): * Single equations (assignments): 292 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 29 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 11 {2 3,1 2,1 1,1 1,1 2,1 2,1 1,1 2,1 2,1 2,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.3215/2.174, allocations: 10.17 MB / 1.09 GB, free: 359 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01246/2.186, allocations: 6.221 MB / 1.096 GB, free: 357 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.147e-05/2.187, allocations: 9.719 kB / 1.096 GB, free: 357 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.006286/2.193, allocations: 4.343 MB / 1.1 GB, free: 355 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009224/2.202, allocations: 1.573 MB / 1.101 GB, free: 354.9 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06391/2.266, allocations: 33.78 MB / 1.134 GB, free: 336.4 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002521/2.269, allocations: 2.405 MB / 1.137 GB, free: 335.5 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.005542/2.274, allocations: 1.403 MB / 1.138 GB, free: 335.1 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002752/2.277, allocations: 1.92 MB / 1.14 GB, free: 333.7 MB / 0.7637 GB Notification: Performance of SimCode: time 7.82e-07/2.277, allocations: 2.406 kB / 1.14 GB, free: 333.7 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1961/2.473, allocations: 141.3 MB / 1.278 GB, free: 203.4 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/2.473, allocations: 254.7 kB / 1.278 GB, free: 203.1 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.563/10.04, allocations: 4 kB / 1.278 GB, free: 203.1 MB / 0.7637 GB (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.Volumes.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.Volumes.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.Volumes.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.Volumes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Boundaries.Tests.Volumes_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Boundaries_Tests_Volumes_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Boundaries_Tests_Volumes.fmu > ThermofluidStream_ThermofluidStream.Boundaries.Tests.Volumes.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Boundaries.Tests.Volumes_res.mat does not exist to compare? outputFormat=mat