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.001159/0.001159, allocations: 99.7 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.001305/0.001305, 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.559/1.559, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7411/0.7411, allocations: 89.64 MB / 380.6 MB, free: 11.42 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004155/0.0004156, allocations: 12.84 kB / 460 MB, free: 24.37 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1514, allocations: 68.83 MB / 0.5165 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.5231/0.6746, allocations: 122.6 MB / 0.6361 GB, free: 7.359 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007676/0.6823, allocations: 3.769 MB / 0.6398 GB, free: 4.363 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006441/0.6831, allocations: 9.312 kB / 0.6398 GB, free: 4.359 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008899/0.684, allocations: 162.5 kB / 0.64 GB, free: 4.223 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00106/0.685, allocations: 251.7 kB / 0.6402 GB, free: 4.012 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.6864, allocations: 333.4 kB / 0.6405 GB, free: 3.754 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007138/0.6871, allocations: 381.7 kB / 0.6409 GB, free: 3.52 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002515/0.6873, allocations: 80.66 kB / 0.641 GB, free: 3.48 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006644/0.688, allocations: 232.9 kB / 0.6412 GB, free: 3.344 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004684/0.6885, allocations: 245.6 kB / 0.6414 GB, free: 3.207 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.47e-05/0.6886, allocations: 15.53 kB / 0.6415 GB, free: 3.207 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.6897, allocations: 390.1 kB / 0.6418 GB, free: 3.059 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.769e-05/0.6898, allocations: 68.08 kB / 0.6419 GB, free: 3.012 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.6899, allocations: 85.33 kB / 0.642 GB, free: 2.953 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005956/0.6905, allocations: 338.5 kB / 0.6423 GB, free: 2.75 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.6905, allocations: 0 / 0.6423 GB, free: 2.75 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.6905, allocations: 3.938 kB / 0.6423 GB, free: 2.746 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.6906, allocations: 4 kB / 0.6423 GB, free: 2.742 MB / 462.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.001844/0.6924, allocations: 0.6382 MB / 0.6429 GB, free: 2.203 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.6925, allocations: 14.12 kB / 0.6429 GB, free: 2.199 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001104/0.6926, allocations: 58.33 kB / 0.643 GB, free: 2.141 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.404e-05/0.6927, allocations: 33.94 kB / 0.643 GB, free: 2.125 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005043/0.6932, allocations: 287.6 kB / 0.6433 GB, free: 1.844 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.6932, allocations: 14.81 kB / 0.6433 GB, free: 1.836 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.026e-05/0.6933, allocations: 28.05 kB / 0.6433 GB, free: 1.824 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009271/0.6943, allocations: 444.6 kB / 0.6438 GB, free: 1.531 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.6943, allocations: 6.781 kB / 0.6438 GB, free: 1.527 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.258e-05/0.6943, allocations: 8 kB / 0.6438 GB, free: 1.52 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.365e-05/0.6944, allocations: 16.12 kB / 0.6438 GB, free: 1.52 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.6955, allocations: 482.4 kB / 0.6443 GB, free: 1.277 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002947/0.6984, allocations: 1.43 MB / 0.6457 GB, free: 84 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006152/0.6991, allocations: 238.2 kB / 0.6459 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003998/0.6995, allocations: 332.7 kB / 0.6462 GB, free: 15.56 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.6995, allocations: 37.5 kB / 0.6462 GB, free: 15.52 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 3.046e-06/0.6995, allocations: 0 / 0.6462 GB, free: 15.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=33): time 0.00373/0.7033, allocations: 1.5 MB / 0.6477 GB, free: 14.41 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.7033, allocations: 53.81 kB / 0.6478 GB, free: 14.35 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003754/0.7037, allocations: 259.5 kB / 0.648 GB, free: 14.17 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.78e-05/0.7038, allocations: 31.73 kB / 0.648 GB, free: 14.14 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.704, allocations: 155.5 kB / 0.6482 GB, free: 13.99 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/0.7041, allocations: 121.6 kB / 0.6483 GB, free: 13.89 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.7043, allocations: 4 kB / 0.6483 GB, free: 13.88 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003127/0.7046, allocations: 338.7 kB / 0.6486 GB, free: 13.55 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003174/0.7049, allocations: 145.7 kB / 0.6488 GB, free: 13.48 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003669/0.7053, allocations: 143 kB / 0.6489 GB, free: 13.4 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003686/0.7057, allocations: 168.6 kB / 0.6491 GB, free: 13.32 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.7057, allocations: 0 / 0.6491 GB, free: 13.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001216/0.7069, allocations: 0.5043 MB / 0.6495 GB, free: 13.03 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.707, allocations: 7.375 kB / 0.6496 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.707, allocations: 3.938 kB / 0.6496 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004717/0.7074, allocations: 119 kB / 0.6497 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003447/0.7078, allocations: 51.48 kB / 0.6497 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003457/0.7113, allocations: 2.152 MB / 0.6518 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003013/0.7116, allocations: 9.906 kB / 0.6518 GB, free: 11.06 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.724e-05/0.7117, allocations: 16.27 kB / 0.6518 GB, free: 11.05 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.0002572/0.7119, allocations: 153.7 kB / 0.652 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.547e-05/0.712, allocations: 31.69 kB / 0.652 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/0.7133, allocations: 0.649 MB / 0.6527 GB, free: 10.44 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.7133, allocations: 2.562 kB / 0.6527 GB, free: 10.44 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.7133, allocations: 1.656 kB / 0.6527 GB, free: 10.44 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.7133, allocations: 4.109 kB / 0.6527 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004422/0.7138, allocations: 409.3 kB / 0.6531 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.7138, allocations: 0 / 0.6531 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/0.714, allocations: 32.95 kB / 0.6531 GB, free: 10.06 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003268/0.7143, allocations: 126.6 kB / 0.6532 GB, free: 9.996 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.7144, allocations: 13.36 kB / 0.6532 GB, free: 9.988 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002462/0.7168, allocations: 2.161 MB / 0.6553 GB, free: 8.094 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.7168, allocations: 4 kB / 0.6553 GB, free: 8.09 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009822/0.7178, allocations: 0.6286 MB / 0.6559 GB, free: 7.703 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.7179, allocations: 129.3 kB / 0.6561 GB, free: 7.566 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.902e-05/0.718, allocations: 6.5 kB / 0.6561 GB, free: 7.562 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.7182, allocations: 7.359 kB / 0.6561 GB, free: 7.559 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/0.7182, allocations: 24.33 kB / 0.6561 GB, free: 7.543 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/0.7183, allocations: 15.33 kB / 0.6561 GB, free: 7.535 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002469/0.7185, allocations: 231.8 kB / 0.6563 GB, free: 7.379 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7185, allocations: 0 / 0.6563 GB, free: 7.379 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005378/0.7191, allocations: 112.7 kB / 0.6565 GB, free: 7.359 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.001501/0.7206, allocations: 1.246 MB / 0.6577 GB, free: 6.406 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.7217, allocations: 0.5101 MB / 0.6582 GB, free: 6.086 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.7217, allocations: 0 / 0.6582 GB, free: 6.086 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005983/0.7223, allocations: 361.3 kB / 0.6585 GB, free: 5.84 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005517/0.7229, allocations: 89.94 kB / 0.6586 GB, free: 5.797 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003518/0.7264, allocations: 2.297 MB / 0.6608 GB, free: 4.297 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.7268, allocations: 0.801 MB / 0.6616 GB, free: 3.535 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002498/0.7271, allocations: 78.5 kB / 0.6617 GB, free: 3.504 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.7272, allocations: 99.22 kB / 0.6618 GB, free: 3.422 MB / 478.1 MB Notification: Performance of SimCode: time 4.61e-07/0.7272, allocations: 2.469 kB / 0.6618 GB, free: 3.422 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.7526, allocations: 9.547 MB / 0.6711 GB, free: 10.6 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/0.7529, allocations: 205.2 kB / 0.6713 GB, free: 10.36 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.937/2.689, allocations: 3.5 kB / 0.6713 GB, free: 10.36 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