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.00114/0.00114, allocations: 98.53 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.00137/0.00137, 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.539/1.539, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7152/0.7152, allocations: 89.65 MB / 380.6 MB, free: 11.4 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.000382, allocations: 17.41 kB / 460 MB, free: 24.38 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.166, allocations: 68.83 MB / 0.5165 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.DynamicBoundaries): time 0.5029/0.6689, allocations: 154.5 MB / 0.6673 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.05061/0.7195, allocations: 37.67 MB / 0.7041 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003518/0.7231, allocations: 35.75 kB / 0.7041 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.005825/0.7289, allocations: 1.766 MB / 0.7058 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01195/0.7409, allocations: 3.739 MB / 0.7095 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.01812/0.7591, allocations: 5.745 MB / 0.7151 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.006033/0.7651, allocations: 2.761 MB / 0.7178 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001564/0.7667, allocations: 0.7276 MB / 0.7185 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02735/0.7941, allocations: 17.67 MB / 0.7358 GB, free: 9.641 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002262/0.7964, allocations: 1.221 MB / 0.737 GB, free: 8.414 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0006026/0.797, allocations: 100 kB / 0.7371 GB, free: 8.316 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0223/0.8194, allocations: 10.09 MB / 0.7469 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001087/0.8205, allocations: 398.1 kB / 0.7473 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001065/0.8216, allocations: 0.547 MB / 0.7478 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01367/0.8352, allocations: 5.807 MB / 0.7535 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.8353, allocations: 0 / 0.7535 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.555e-06/0.8353, allocations: 0 / 0.7535 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.144e-05/0.8354, allocations: 0 / 0.7535 GB, free: 7.453 MB / 0.5606 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.01217/0.8476, allocations: 3.96 MB / 0.7574 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.8476, allocations: 8.031 kB / 0.7574 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006737/0.8483, allocations: 325.3 kB / 0.7577 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002639/0.851, allocations: 0.5663 MB / 0.7582 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003038/0.854, allocations: 1.23 MB / 0.7594 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001814/0.8542, allocations: 180.7 kB / 0.7596 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003747/0.8546, allocations: 243.9 kB / 0.7598 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006325/0.8609, allocations: 2.799 MB / 0.7626 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.376e-05/0.861, allocations: 7.938 kB / 0.7626 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001845/0.8612, allocations: 96 kB / 0.7627 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.675e-05/0.8613, allocations: 64 kB / 0.7627 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005505/0.8668, allocations: 2.361 MB / 0.765 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01498/0.8818, allocations: 12.84 MB / 0.7776 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005034/0.8869, allocations: 2.113 MB / 0.7796 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4415/1.328, allocations: 48.04 MB / 0.8266 GB, free: 204.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.423e-05/1.329, allocations: 58.38 kB / 0.8266 GB, free: 204.4 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=208): time 4.579e-06/1.329, allocations: 0 / 0.8266 GB, free: 204.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=208): time 0.01264/1.341, allocations: 4.352 MB / 0.8309 GB, free: 203.6 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/1.341, allocations: 208.2 kB / 0.8311 GB, free: 203.4 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00242/1.344, allocations: 1.442 MB / 0.8325 GB, free: 202.9 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002321/1.344, allocations: 61.3 kB / 0.8325 GB, free: 202.8 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006672/1.345, allocations: 0.9503 MB / 0.8335 GB, free: 202.2 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005886/1.345, allocations: 0.6974 MB / 0.8341 GB, free: 201.7 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.668e-05/1.345, allocations: 36.09 kB / 0.8342 GB, free: 201.6 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001356/1.346, allocations: 384.4 kB / 0.8345 GB, free: 201.3 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001354/1.347, allocations: 0.6687 MB / 0.8352 GB, free: 201 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001622/1.349, allocations: 0.9449 MB / 0.8361 GB, free: 200.5 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/1.35, allocations: 0.7949 MB / 0.8369 GB, free: 200.1 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/1.35, allocations: 6.172 kB / 0.8369 GB, free: 200.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.00496/1.355, allocations: 2.323 MB / 0.8392 GB, free: 199.1 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.337e-05/1.355, allocations: 7.531 kB / 0.8392 GB, free: 199.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/1.355, allocations: 7.688 kB / 0.8392 GB, free: 199.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/1.356, allocations: 318.9 kB / 0.8395 GB, free: 199 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/1.358, allocations: 402 kB / 0.8399 GB, free: 199 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00616/1.364, allocations: 9.027 MB / 0.8487 GB, free: 190.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002533/1.366, allocations: 234.8 kB / 0.8489 GB, free: 190.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003114/1.367, allocations: 86.53 kB / 0.849 GB, free: 190.3 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.001066/1.368, allocations: 427.3 kB / 0.8494 GB, free: 189.9 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005562/1.368, allocations: 212.1 kB / 0.8496 GB, free: 189.8 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007302/1.376, allocations: 6.471 MB / 0.8559 GB, free: 186.1 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.414e-05/1.376, allocations: 79.42 kB / 0.856 GB, free: 186 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.015e-05/1.376, allocations: 3.969 kB / 0.856 GB, free: 186 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.683e-05/1.376, allocations: 15.86 kB / 0.856 GB, free: 186 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01201/1.388, allocations: 10.02 MB / 0.8658 GB, free: 179.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-05/1.388, allocations: 8.031 kB / 0.8658 GB, free: 179.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/1.389, allocations: 343.5 kB / 0.8661 GB, free: 179.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009419/1.39, allocations: 329.8 kB / 0.8664 GB, free: 178.8 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001205/1.39, allocations: 71.91 kB / 0.8665 GB, free: 178.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005494/1.396, allocations: 9.033 MB / 0.8753 GB, free: 168.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/1.396, allocations: 8.062 kB / 0.8753 GB, free: 168.9 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00761/1.403, allocations: 5.913 MB / 0.8811 GB, free: 162.9 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001258/1.405, allocations: 0.5309 MB / 0.8816 GB, free: 162.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003378/1.405, allocations: 48 kB / 0.8817 GB, free: 162.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001483/1.406, allocations: 135.4 kB / 0.8818 GB, free: 162.1 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003299/1.407, allocations: 171.7 kB / 0.882 GB, free: 161.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/1.407, allocations: 71.91 kB / 0.882 GB, free: 161.9 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001452/1.408, allocations: 1.244 MB / 0.8833 GB, free: 160.6 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/1.408, allocations: 0 / 0.8833 GB, free: 160.6 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.005826/1.414, allocations: 1.762 MB / 0.885 GB, free: 158.9 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.01287/1.427, allocations: 8.948 MB / 0.8937 GB, free: 150.2 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005181/1.432, allocations: 3.138 MB / 0.8968 GB, free: 147 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/1.432, allocations: 0 / 0.8968 GB, free: 147 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003401/1.436, allocations: 2.508 MB / 0.8992 GB, free: 144.4 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005197/1.441, allocations: 0.7998 MB / 0.9 GB, free: 143.6 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03111/1.472, allocations: 21.59 MB / 0.9211 GB, free: 120.9 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001265/1.474, allocations: 1.968 MB / 0.923 GB, free: 118.9 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002011/1.476, allocations: 0.8934 MB / 0.9239 GB, free: 118.1 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001325/1.477, allocations: 1.319 MB / 0.9252 GB, free: 116.7 MB / 0.6075 GB Notification: Performance of SimCode: time 9.92e-07/1.477, allocations: 0 / 0.9252 GB, free: 116.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1547/1.632, allocations: 102.2 MB / 1.025 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/1.632, allocations: 224.4 kB / 1.025 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.735/8.367, allocations: 0 / 1.025 GB, free: 14.72 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