Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.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.Topology.Tests.TestJunction,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestJunction,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunction",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.001065/0.001065, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001397/0.001397, allocations: 172.7 kB / 15.95 MB, free: 208 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.548/1.548, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7169/0.7169, allocations: 89.65 MB / 380.7 MB, free: 11.43 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003703/0.0003704, allocations: 9.781 kB / 460.1 MB, free: 24.26 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1322, allocations: 68.84 MB / 0.5166 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.5249/0.6571, allocations: 131.1 MB / 0.6446 GB, free: 1.359 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005112/0.6622, allocations: 4.206 MB / 0.6487 GB, free: 13.96 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000467/0.6627, allocations: 5.125 kB / 0.6487 GB, free: 13.96 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007446/0.6635, allocations: 170.5 kB / 0.6489 GB, free: 13.82 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007931/0.6643, allocations: 249.1 kB / 0.6491 GB, free: 13.62 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.6654, allocations: 316.9 kB / 0.6494 GB, free: 13.38 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007761/0.6662, allocations: 0.6464 MB / 0.6501 GB, free: 13 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.6664, allocations: 78.34 kB / 0.6502 GB, free: 12.96 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005721/0.667, allocations: 254.5 kB / 0.6504 GB, free: 12.82 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004059/0.6674, allocations: 289.1 kB / 0.6507 GB, free: 12.67 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.628e-05/0.6674, allocations: 16.62 kB / 0.6507 GB, free: 12.67 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000758/0.6682, allocations: 368.7 kB / 0.651 GB, free: 12.51 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.705e-05/0.6683, allocations: 69.48 kB / 0.6511 GB, free: 12.46 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 8.169e-05/0.6684, allocations: 85.09 kB / 0.6512 GB, free: 12.4 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004094/0.6688, allocations: 347.7 kB / 0.6515 GB, free: 12.19 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.6688, allocations: 0 / 0.6515 GB, free: 12.19 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6688, allocations: 0 / 0.6515 GB, free: 12.19 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.341e-06/0.6688, allocations: 0 / 0.6515 GB, free: 12.19 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001233/0.6701, allocations: 0.6367 MB / 0.6521 GB, free: 11.65 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.6701, allocations: 9.281 kB / 0.6521 GB, free: 11.65 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.741e-05/0.6702, allocations: 61.17 kB / 0.6522 GB, free: 11.59 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.468e-05/0.6703, allocations: 29.75 kB / 0.6522 GB, free: 11.58 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003468/0.6706, allocations: 297.5 kB / 0.6525 GB, free: 11.29 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.6707, allocations: 23.28 kB / 0.6525 GB, free: 11.27 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.284e-05/0.6707, allocations: 28.7 kB / 0.6526 GB, free: 11.26 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006665/0.6714, allocations: 438.1 kB / 0.653 GB, free: 10.98 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.6714, allocations: 0 / 0.653 GB, free: 10.98 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.031e-05/0.6715, allocations: 10.75 kB / 0.653 GB, free: 10.97 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-05/0.6715, allocations: 22.66 kB / 0.653 GB, free: 10.96 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000702/0.6722, allocations: 486.8 kB / 0.6535 GB, free: 10.71 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001921/0.6741, allocations: 1.402 MB / 0.6549 GB, free: 9.547 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004194/0.6746, allocations: 247.1 kB / 0.6551 GB, free: 9.406 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003101/0.6749, allocations: 207.9 kB / 0.6553 GB, free: 9.301 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003178/0.6752, allocations: 338.3 kB / 0.6556 GB, free: 8.91 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.6753, allocations: 39.05 kB / 0.6556 GB, free: 8.863 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 1.884e-06/0.6753, allocations: 2.969 kB / 0.6556 GB, free: 8.863 MB / 478.1 MB Notification: Performance of matching and sorting (n=33): time 0.002446/0.6777, allocations: 1.495 MB / 0.6571 GB, free: 7.758 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.6778, allocations: 54.47 kB / 0.6572 GB, free: 7.695 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/0.6781, allocations: 265.6 kB / 0.6574 GB, free: 7.516 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.6781, allocations: 29.7 kB / 0.6574 GB, free: 7.48 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.982e-05/0.6782, allocations: 151.4 kB / 0.6576 GB, free: 7.34 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.6783, allocations: 120.2 kB / 0.6577 GB, free: 7.234 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-05/0.6784, allocations: 10.44 kB / 0.6577 GB, free: 7.227 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.6785, allocations: 347 kB / 0.658 GB, free: 6.887 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.6787, allocations: 140 kB / 0.6582 GB, free: 6.816 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.6789, allocations: 145.1 kB / 0.6583 GB, free: 6.742 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002609/0.6792, allocations: 173.5 kB / 0.6585 GB, free: 6.652 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.6792, allocations: 0 / 0.6585 GB, free: 6.652 MB / 478.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008424/0.6801, allocations: 0.4993 MB / 0.659 GB, free: 6.367 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.6801, allocations: 6.219 kB / 0.659 GB, free: 6.367 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.6801, allocations: 0 / 0.659 GB, free: 6.367 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003646/0.6805, allocations: 115.3 kB / 0.6591 GB, free: 6.312 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002617/0.6808, allocations: 59.84 kB / 0.6591 GB, free: 6.289 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/0.6831, allocations: 2.116 MB / 0.6612 GB, free: 4.43 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.6833, allocations: 11.25 kB / 0.6612 GB, free: 4.422 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-05/0.6833, allocations: 11.66 kB / 0.6612 GB, free: 4.418 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (25): * Single equations (assignments): 24 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001751/0.6835, allocations: 158.8 kB / 0.6614 GB, free: 4.273 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.873e-05/0.6836, allocations: 28.72 kB / 0.6614 GB, free: 4.258 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.6846, allocations: 0.647 MB / 0.662 GB, free: 3.801 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.6847, allocations: 2.844 kB / 0.662 GB, free: 3.801 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.6847, allocations: 4.859 kB / 0.662 GB, free: 3.797 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.6847, allocations: 1.75 kB / 0.662 GB, free: 3.797 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004371/0.6851, allocations: 412.3 kB / 0.6624 GB, free: 3.434 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.6851, allocations: 0 / 0.6624 GB, free: 3.434 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.6853, allocations: 31.38 kB / 0.6625 GB, free: 3.422 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003358/0.6857, allocations: 128.1 kB / 0.6626 GB, free: 3.355 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/0.6857, allocations: 23.69 kB / 0.6626 GB, free: 3.336 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002432/0.6881, allocations: 2.111 MB / 0.6647 GB, free: 1.477 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.6882, allocations: 4.031 kB / 0.6647 GB, free: 1.473 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.6892, allocations: 0.6322 MB / 0.6653 GB, free: 1.082 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.6893, allocations: 112.8 kB / 0.6654 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.723e-05/0.6894, allocations: 11.34 kB / 0.6654 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.6896, allocations: 11.27 kB / 0.6654 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.117e-05/0.6896, allocations: 26.83 kB / 0.6655 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.6897, allocations: 9.109 kB / 0.6655 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002583/0.6899, allocations: 229 kB / 0.6657 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6899, allocations: 0 / 0.6657 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005488/0.6905, allocations: 107 kB / 0.6658 GB, free: 0.7578 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (source.outlet.m_flow,source1.outlet.m_flow,source2.outlet.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 (13): * Single equations (assignments): 12 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,62.5%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001464/0.692, allocations: 1.259 MB / 0.667 GB, free: 15.79 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008973/0.6929, allocations: 0.5149 MB / 0.6675 GB, free: 15.47 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.6929, allocations: 0 / 0.6675 GB, free: 15.47 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005762/0.6935, allocations: 362 kB / 0.6679 GB, free: 15.22 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005657/0.694, allocations: 95.28 kB / 0.668 GB, free: 15.17 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003336/0.6974, allocations: 2.299 MB / 0.6702 GB, free: 13.14 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.6978, allocations: 0.7911 MB / 0.671 GB, free: 12.32 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002548/0.698, allocations: 74.8 kB / 0.671 GB, free: 12.24 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.6982, allocations: 103.4 kB / 0.6711 GB, free: 12.14 MB / 494.1 MB Notification: Performance of SimCode: time 4.11e-07/0.6982, allocations: 0 / 0.6711 GB, free: 12.14 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02331/0.7215, allocations: 9.59 MB / 0.6805 GB, free: 2.73 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/0.7217, allocations: 202.3 kB / 0.6807 GB, free: 2.492 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.001/2.723, allocations: 2.391 kB / 0.6807 GB, free: 2.492 MB / 494.1 MB (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunction_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunction.fmu > ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction_res.mat does not exist to compare? outputFormat=mat