Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.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.DynamicBoundaries,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_DynamicBoundaries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.DynamicBoundaries,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_DynamicBoundaries",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.001082/0.001082, allocations: 87.03 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.001245/0.001246, 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.504/1.504, allocations: 223.3 MB / 240 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7639/0.7639, allocations: 89.66 MB / 380.7 MB, free: 11.41 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000381/0.0003811, allocations: 10.81 kB / 460.1 MB, free: 24.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1522, allocations: 68.84 MB / 0.5166 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.DynamicBoundaries): time 0.5321/0.6843, allocations: 172.4 MB / 0.6849 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0455/0.7299, allocations: 41.69 MB / 0.7256 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00317/0.7331, allocations: 39.75 kB / 0.7256 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.005589/0.7387, allocations: 1.713 MB / 0.7273 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01121/0.7499, allocations: 3.498 MB / 0.7307 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01698/0.767, allocations: 5.55 MB / 0.7362 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00597/0.773, allocations: 4.403 MB / 0.7405 GB, free: 6.66 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001266/0.7743, allocations: 0.7299 MB / 0.7412 GB, free: 5.902 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02973/0.804, allocations: 18.04 MB / 0.7588 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003801/0.8079, allocations: 1.404 MB / 0.7602 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0008665/0.8088, allocations: 100 kB / 0.7603 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02282/0.8316, allocations: 9.099 MB / 0.7691 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009587/0.8326, allocations: 409.9 kB / 0.7695 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001122/0.8338, allocations: 0.5354 MB / 0.7701 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01311/0.8469, allocations: 5.862 MB / 0.7758 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.8469, allocations: 0 / 0.7758 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.779e-06/0.8469, allocations: 4 kB / 0.7758 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.318e-05/0.847, allocations: 7.938 kB / 0.7758 GB, free: 2.406 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 602 * Number of variables: 602 Notification: Performance of Generate backend data structure: time 0.01156/0.8586, allocations: 3.956 MB / 0.7796 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.8587, allocations: 8.031 kB / 0.7797 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006788/0.8593, allocations: 321.3 kB / 0.78 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002469/0.8618, allocations: 0.5586 MB / 0.7805 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002363/0.8642, allocations: 1.238 MB / 0.7817 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.8643, allocations: 176.7 kB / 0.7819 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000322/0.8647, allocations: 243.9 kB / 0.7821 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006483/0.8712, allocations: 2.815 MB / 0.7849 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.809e-05/0.8713, allocations: 7.938 kB / 0.7849 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001996/0.8715, allocations: 96 kB / 0.785 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.632e-05/0.8716, allocations: 60 kB / 0.785 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005381/0.8769, allocations: 2.369 MB / 0.7873 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01507/0.892, allocations: 12.84 MB / 0.7999 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004564/0.8967, allocations: 2.118 MB / 0.8019 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001794/0.8985, allocations: 1.077 MB / 0.803 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4369/1.335, allocations: 48.05 MB / 0.8499 GB, free: 191.3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.776e-05/1.335, allocations: 57.72 kB / 0.85 GB, free: 191.3 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=208): time 4.198e-06/1.336, allocations: 0 / 0.85 GB, free: 191.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=208): time 0.01077/1.346, allocations: 4.347 MB / 0.8542 GB, free: 189.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.803e-05/1.346, allocations: 210.8 kB / 0.8544 GB, free: 189.3 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002295/1.349, allocations: 1.451 MB / 0.8558 GB, free: 188.5 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001707/1.349, allocations: 61.58 kB / 0.8559 GB, free: 188.4 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005997/1.349, allocations: 0.9447 MB / 0.8568 GB, free: 187.7 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005252/1.35, allocations: 0.7027 MB / 0.8575 GB, free: 187.1 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.936e-05/1.35, allocations: 35.91 kB / 0.8575 GB, free: 187.1 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001021/1.35, allocations: 373.7 kB / 0.8579 GB, free: 186.7 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/1.351, allocations: 0.6697 MB / 0.8585 GB, free: 186.4 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001223/1.353, allocations: 0.9616 MB / 0.8595 GB, free: 185.7 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/1.354, allocations: 0.7874 MB / 0.8603 GB, free: 185.3 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/1.354, allocations: 3.781 kB / 0.8603 GB, free: 185.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.003929/1.358, allocations: 2.321 MB / 0.8625 GB, free: 184.1 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/1.358, allocations: 16.72 kB / 0.8625 GB, free: 184.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/1.358, allocations: 7.5 kB / 0.8625 GB, free: 184.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008941/1.359, allocations: 316.4 kB / 0.8629 GB, free: 184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/1.36, allocations: 411.1 kB / 0.8632 GB, free: 183.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005365/1.366, allocations: 8.933 MB / 0.872 GB, free: 174.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002044/1.368, allocations: 226.1 kB / 0.8722 GB, free: 174.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001759/1.368, allocations: 83.97 kB / 0.8723 GB, free: 174.5 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 24 (dynamicPressureInflow5.outlet.state.phase,dynamicPressureInflow4.outlet.state.phase,dynamicPressureInflow3.outlet.state.phase,dynamicPressureInflow2.outlet.state.phase,dynamicPressureInflow1.outlet.state.phase,dynamicPressureInflow.outlet.state.phase,flowResistance5.outlet.state.phase,dynamicPressureOutflow5.outlet.state.phase,source5.outlet.state.phase,flowResistance4.outlet.state.phase,dynamicPressureOutflow4.outlet.state.phase,source4.outlet.state.phase,flowResistance3.outlet.state.phase,dynamicPressureOutflow3.outlet.state.phase,source3.outlet.state.phase,flowResistance2.outlet.state.phase,dynamicPressureOutflow2.outlet.state.phase,source2.outlet.state.phase,flowResistance1.outlet.state.phase,dynamicPressureOutflow1.outlet.state.phase,source1.outlet.state.phase,flowResistance.outlet.state.phase,dynamicPressureOutflow.outlet.state.phase,source.outlet.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009033/1.369, allocations: 418.9 kB / 0.8727 GB, free: 174.1 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004169/1.369, allocations: 213.4 kB / 0.8729 GB, free: 173.9 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007196/1.376, allocations: 6.485 MB / 0.8792 GB, free: 167.4 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-05/1.376, allocations: 79.84 kB / 0.8793 GB, free: 167.3 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.989e-05/1.376, allocations: 4 kB / 0.8793 GB, free: 167.3 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.694e-05/1.377, allocations: 15.95 kB / 0.8793 GB, free: 167.3 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01175/1.388, allocations: 10.01 MB / 0.8891 GB, free: 157.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/1.388, allocations: 3.938 kB / 0.8891 GB, free: 157.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/1.39, allocations: 343.6 kB / 0.8894 GB, free: 156.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009561/1.391, allocations: 333.7 kB / 0.8897 GB, free: 156.6 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001196/1.391, allocations: 59.97 kB / 0.8898 GB, free: 156.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00528/1.396, allocations: 8.938 MB / 0.8985 GB, free: 146.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.396, allocations: 12.16 kB / 0.8985 GB, free: 146.7 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007144/1.403, allocations: 5.707 MB / 0.9041 GB, free: 141 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/1.404, allocations: 0.5386 MB / 0.9046 GB, free: 140.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002999/1.405, allocations: 47.98 kB / 0.9047 GB, free: 140.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/1.406, allocations: 127.5 kB / 0.9048 GB, free: 140.2 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003099/1.406, allocations: 179.6 kB / 0.905 GB, free: 140.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/1.406, allocations: 67.97 kB / 0.905 GB, free: 140 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001453/1.408, allocations: 1.244 MB / 0.9062 GB, free: 138.7 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/1.408, allocations: 0 / 0.9062 GB, free: 138.7 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.005385/1.413, allocations: 1.767 MB / 0.908 GB, free: 137.1 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (flowResistance5.inlet.m_flow,flowResistance4.inlet.m_flow,flowResistance3.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance1.inlet.m_flow,flowResistance.inlet.m_flow) * Number of discrete variables: 36 ($cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (208): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01323/1.427, allocations: 8.058 MB / 0.9158 GB, free: 129.2 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004837/1.431, allocations: 3.142 MB / 0.9189 GB, free: 126 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/1.431, allocations: 0 / 0.9189 GB, free: 126 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003204/1.435, allocations: 2.51 MB / 0.9214 GB, free: 123.4 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004575/1.439, allocations: 0.8296 MB / 0.9222 GB, free: 122.6 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02812/1.467, allocations: 17.32 MB / 0.9391 GB, free: 104.3 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/1.469, allocations: 1.902 MB / 0.9409 GB, free: 102.3 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002077/1.471, allocations: 0.8834 MB / 0.9418 GB, free: 101.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001345/1.472, allocations: 1.319 MB / 0.9431 GB, free: 100.2 MB / 0.6075 GB Notification: Performance of SimCode: time 1.152e-06/1.472, allocations: 0 / 0.9431 GB, free: 100.2 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4509/1.923, allocations: 102.3 MB / 1.043 GB, free: 197.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00026/1.923, allocations: 210.1 kB / 1.043 GB, free: 197.6 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.582/8.506, allocations: 0.8125 kB / 1.043 GB, free: 197.6 MB / 0.6075 GB (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Boundaries_Tests_DynamicBoundaries_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Boundaries_Tests_DynamicBoundaries.fmu > ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries_res.mat does not exist to compare? outputFormat=mat