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.001288/0.001287, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00157/0.00157, allocations: 177.3 kB / 15.94 MB, free: 228 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.501/1.501, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8447/0.8447, allocations: 89.65 MB / 380.6 MB, free: 11.44 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006985/0.0006987, allocations: 14.38 kB / 460 MB, free: 24.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1844, allocations: 68.84 MB / 0.5165 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Volumes): time 0.7137/0.8981, allocations: 260.8 MB / 0.7712 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.05389/0.9521, allocations: 36.84 MB / 0.8072 GB, free: 264 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00703/0.9592, allocations: 59.62 kB / 0.8072 GB, free: 204 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.4207/1.38, allocations: 2.335 MB / 0.8095 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.02175/1.402, allocations: 6.584 MB / 0.8159 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01575/1.417, allocations: 4.602 MB / 0.8204 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01204/1.429, allocations: 5.136 MB / 0.8254 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002716/1.432, allocations: 0.9205 MB / 0.8263 GB, free: 26.62 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01166/1.444, allocations: 4.067 MB / 0.8303 GB, free: 26.59 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007482/1.451, allocations: 2.589 MB / 0.8328 GB, free: 26.59 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002243/1.454, allocations: 207.3 kB / 0.833 GB, free: 26.59 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02566/1.479, allocations: 7.627 MB / 0.8405 GB, free: 26.57 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.003404/1.483, allocations: 1.193 MB / 0.8417 GB, free: 26.57 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0043/1.487, allocations: 0.9493 MB / 0.8426 GB, free: 26.54 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0216/1.509, allocations: 6.769 MB / 0.8492 GB, free: 25.94 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/1.509, allocations: 0 / 0.8492 GB, free: 25.94 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.194e-06/1.509, allocations: 1.094 kB / 0.8492 GB, free: 25.94 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002998/1.509, allocations: 0 / 0.8492 GB, free: 25.94 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.01679/1.526, allocations: 5.315 MB / 0.8544 GB, free: 23.57 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/1.526, allocations: 12.34 kB / 0.8544 GB, free: 23.56 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002541/1.529, allocations: 0.5237 MB / 0.8549 GB, free: 23.5 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006675/1.535, allocations: 0.9006 MB / 0.8558 GB, free: 23.24 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006075/1.541, allocations: 2.13 MB / 0.8579 GB, free: 22.68 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003836/1.542, allocations: 297.6 kB / 0.8582 GB, free: 22.67 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001383/1.543, allocations: 411.3 kB / 0.8585 GB, free: 22.65 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01225/1.555, allocations: 4.961 MB / 0.8634 GB, free: 22.23 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.38e-05/1.556, allocations: 5.75 kB / 0.8634 GB, free: 22.23 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007203/1.556, allocations: 167.2 kB / 0.8636 GB, free: 22.23 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004719/1.557, allocations: 318.8 kB / 0.8639 GB, free: 22.18 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008187/1.565, allocations: 4.254 MB / 0.868 GB, free: 21.61 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.04097/1.606, allocations: 22.48 MB / 0.89 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005764/1.612, allocations: 3.26 MB / 0.8931 GB, free: 6.352 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0213/1.633, allocations: 11.12 MB / 0.904 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001234/1.633, allocations: 99.44 kB / 0.9041 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=390): time 9.078e-06/1.633, allocations: 0.875 kB / 0.9041 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of matching and sorting (n=390): time 0.02961/1.663, allocations: 9.694 MB / 0.9136 GB, free: 4.207 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001475/1.663, allocations: 280 kB / 0.9138 GB, free: 3.883 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005305/1.668, allocations: 2.862 MB / 0.9166 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001416/1.67, allocations: 101.1 kB / 0.9167 GB, free: 1.766 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.00153/1.671, allocations: 1.72 MB / 0.9184 GB, free: 0.8203 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002417/1.674, allocations: 1.358 MB / 0.9197 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004156/1.674, allocations: 82.36 kB / 0.9198 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002441/1.675, allocations: 458.2 kB / 0.9202 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002738/1.677, allocations: 1.52 MB / 0.9217 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003188/1.681, allocations: 2.16 MB / 0.9238 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00331/1.684, allocations: 1.804 MB / 0.9256 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.35e-05/1.684, allocations: 4 kB / 0.9256 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=520) (initialization): time 0.01063/1.695, allocations: 5.023 MB / 0.9305 GB, free: 8.105 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.731e-05/1.695, allocations: 13.88 kB / 0.9305 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-05/1.695, allocations: 20.86 kB / 0.9305 GB, free: 8.074 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002452/1.697, allocations: 0.5916 MB / 0.9311 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004473/1.702, allocations: 0.8367 MB / 0.9319 GB, free: 6.773 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0197/1.721, allocations: 24.51 MB / 0.9559 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005565/1.727, allocations: 497.6 kB / 0.9564 GB, free: 13.17 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001193/1.728, allocations: 230.1 kB / 0.9566 GB, free: 12.98 MB / 0.6856 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.002827/1.731, allocations: 0.7538 MB / 0.9573 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00148/1.733, allocations: 414.4 kB / 0.9577 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01182/1.744, allocations: 5.963 MB / 0.9635 GB, free: 7.832 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.704e-05/1.745, allocations: 43.98 kB / 0.9636 GB, free: 7.789 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.162e-05/1.745, allocations: 15.95 kB / 0.9636 GB, free: 7.773 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.645e-05/1.745, allocations: 15.94 kB / 0.9636 GB, free: 7.758 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02217/1.767, allocations: 9.824 MB / 0.9732 GB, free: 0.9336 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.815e-05/1.767, allocations: 8 kB / 0.9732 GB, free: 0.9258 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003056/1.77, allocations: 0.6237 MB / 0.9738 GB, free: 360 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004237/1.774, allocations: 0.9995 MB / 0.9748 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001182/1.776, allocations: 149.3 kB / 0.9749 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02387/1.799, allocations: 30.53 MB / 1.005 GB, free: 60 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/1.799, allocations: 10.42 kB / 1.005 GB, free: 52 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01405/1.814, allocations: 7.893 MB / 1.012 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002012/1.816, allocations: 0.5618 MB / 1.013 GB, free: 9.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009595/1.817, allocations: 89.73 kB / 1.013 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006918/1.823, allocations: 377.4 kB / 1.013 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008529/1.824, allocations: 311.8 kB / 1.014 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006075/1.825, allocations: 220.5 kB / 1.014 GB, free: 8.777 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003205/1.828, allocations: 1.991 MB / 1.016 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.01e-07/1.828, allocations: 0 / 1.016 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.009669/1.838, allocations: 2.353 MB / 1.018 GB, free: 5.293 MB / 0.7325 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.02172/1.86, allocations: 12.19 MB / 1.03 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01089/1.871, allocations: 6.229 MB / 1.036 GB, free: 6.309 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.529e-05/1.871, allocations: 5.219 kB / 1.036 GB, free: 6.305 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.006775/1.877, allocations: 4.337 MB / 1.04 GB, free: 2.551 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009392/1.887, allocations: 1.495 MB / 1.042 GB, free: 1.359 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07415/1.961, allocations: 44.36 MB / 1.085 GB, free: 7.762 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003175/1.964, allocations: 2.491 MB / 1.088 GB, free: 5.309 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.007312/1.972, allocations: 1.392 MB / 1.089 GB, free: 3.906 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003983/1.976, allocations: 1.92 MB / 1.091 GB, free: 3.418 MB / 0.795 GB Notification: Performance of SimCode: time 7.31e-07/1.976, allocations: 0 / 1.091 GB, free: 3.418 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5667/2.542, allocations: 141.8 MB / 1.229 GB, free: 282.2 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/2.543, allocations: 246.7 kB / 1.23 GB, free: 281.9 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.779/10.32, allocations: 0 / 1.23 GB, free: 281.9 MB / 0.795 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