Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestJunction,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Topology_Tests_TestJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestJunction,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Topology_Tests_TestJunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.007812/0.007812, allocations: 169.9 kB / 15.12 MB, free: 5.559 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.825/1.825, allocations: 205.4 MB / 221.3 MB, free: 13.8 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 94.8 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.803/0.803, allocations: 90.59 MB / 408.4 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005304/0.0005306, allocations: 8 kB / 485.3 MB, free: 1.953 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4543/0.4549, allocations: 66.27 MB / 0.5387 GB, free: 45.56 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.1683/0.6232, allocations: 122.6 MB / 0.6584 GB, free: 1.082 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.00517/0.6284, allocations: 3.775 MB / 0.6621 GB, free: 13.3 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003793/0.6289, allocations: 4 kB / 0.6621 GB, free: 13.3 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006493/0.6295, allocations: 159.2 kB / 0.6622 GB, free: 13.14 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007452/0.6303, allocations: 279.1 kB / 0.6625 GB, free: 12.87 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009915/0.6313, allocations: 319.1 kB / 0.6628 GB, free: 12.55 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005146/0.6318, allocations: 371.7 kB / 0.6631 GB, free: 12.19 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/0.632, allocations: 76.38 kB / 0.6632 GB, free: 12.12 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005259/0.6326, allocations: 259.2 kB / 0.6635 GB, free: 11.87 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000361/0.6329, allocations: 243.3 kB / 0.6637 GB, free: 11.63 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.695e-05/0.633, allocations: 16 kB / 0.6637 GB, free: 11.62 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008835/0.6339, allocations: 459.5 kB / 0.6641 GB, free: 11.17 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.559e-05/0.634, allocations: 76.39 kB / 0.6642 GB, free: 11.09 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.398e-05/0.6341, allocations: 85.52 kB / 0.6643 GB, free: 11 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005148/0.6346, allocations: 360.8 kB / 0.6646 GB, free: 10.66 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.6346, allocations: 0 / 0.6646 GB, free: 10.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.6346, allocations: 0 / 0.6646 GB, free: 10.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.6346, allocations: 0 / 0.6646 GB, free: 10.66 MB / 490.7 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.001455/0.6361, allocations: 0.667 MB / 0.6653 GB, free: 9.949 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.6361, allocations: 9.344 kB / 0.6653 GB, free: 9.941 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.152e-05/0.6362, allocations: 62.53 kB / 0.6654 GB, free: 9.871 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.234e-05/0.6363, allocations: 31.62 kB / 0.6654 GB, free: 9.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003936/0.6367, allocations: 295.9 kB / 0.6657 GB, free: 9.512 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.6367, allocations: 16.56 kB / 0.6657 GB, free: 9.496 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.13e-05/0.6368, allocations: 35.91 kB / 0.6657 GB, free: 9.461 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006585/0.6375, allocations: 393.6 kB / 0.6661 GB, free: 9.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.6375, allocations: 0 / 0.6661 GB, free: 9.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/0.6375, allocations: 12 kB / 0.6661 GB, free: 9.059 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.581e-05/0.6376, allocations: 16.55 kB / 0.6661 GB, free: 9.039 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007377/0.6383, allocations: 489.8 kB / 0.6666 GB, free: 8.562 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002131/0.6405, allocations: 1.505 MB / 0.6681 GB, free: 6.902 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006871/0.6412, allocations: 442.3 kB / 0.6685 GB, free: 6.461 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001652/0.6413, allocations: 97.09 kB / 0.6686 GB, free: 6.348 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.6414, allocations: 39.55 kB / 0.6686 GB, free: 6.301 MB / 490.7 MB Notification: Performance of pre-optimization done (n=38): time 1.884e-06/0.6414, allocations: 0 / 0.6686 GB, free: 6.301 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.003141/0.6445, allocations: 2.016 MB / 0.6706 GB, free: 4.117 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.6446, allocations: 59.39 kB / 0.6706 GB, free: 4.047 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.6448, allocations: 217 kB / 0.6709 GB, free: 3.828 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.41e-05/0.6449, allocations: 37.7 kB / 0.6709 GB, free: 3.785 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.645, allocations: 144.9 kB / 0.671 GB, free: 3.641 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.6451, allocations: 142 kB / 0.6712 GB, free: 3.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/0.6451, allocations: 4 kB / 0.6712 GB, free: 3.496 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.6453, allocations: 342.8 kB / 0.6715 GB, free: 3.152 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003001/0.6456, allocations: 207.6 kB / 0.6717 GB, free: 2.949 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002933/0.6459, allocations: 204.6 kB / 0.6719 GB, free: 2.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003496/0.6463, allocations: 228 kB / 0.6721 GB, free: 2.527 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.6463, allocations: 0 / 0.6721 GB, free: 2.527 MB / 490.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009923/0.6473, allocations: 0.6186 MB / 0.6727 GB, free: 1.898 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.6473, allocations: 4 kB / 0.6727 GB, free: 1.895 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.6473, allocations: 0 / 0.6727 GB, free: 1.895 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003855/0.6477, allocations: 124.7 kB / 0.6728 GB, free: 1.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/0.648, allocations: 53.52 kB / 0.6729 GB, free: 1.719 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002628/0.6506, allocations: 2.155 MB / 0.675 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.6509, allocations: 15.97 kB / 0.675 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/0.6509, allocations: 15.98 kB / 0.675 GB, free: 15.4 MB / 0.4948 GB 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 (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0002035/0.6511, allocations: 153.8 kB / 0.6752 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.655e-05/0.6512, allocations: 31.58 kB / 0.6752 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.6524, allocations: 0.6758 MB / 0.6759 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.6524, allocations: 7.984 kB / 0.6759 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.6524, allocations: 0 / 0.6759 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.6525, allocations: 8.094 kB / 0.6759 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005882/0.653, allocations: 485.2 kB / 0.6763 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.6531, allocations: 4 kB / 0.6763 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/0.6533, allocations: 43.89 kB / 0.6764 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003391/0.6536, allocations: 128.7 kB / 0.6765 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.175e-05/0.6537, allocations: 18.11 kB / 0.6765 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002471/0.6562, allocations: 2.137 MB / 0.6786 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.6562, allocations: 11.95 kB / 0.6786 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.6577, allocations: 1 MB / 0.6796 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.6578, allocations: 100.8 kB / 0.6797 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.654e-05/0.6578, allocations: 19.98 kB / 0.6797 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.6581, allocations: 11.91 kB / 0.6797 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.835e-05/0.6582, allocations: 31.94 kB / 0.6798 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.636e-05/0.6582, allocations: 14.05 kB / 0.6798 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001734/0.6584, allocations: 164.5 kB / 0.6799 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6584, allocations: 0 / 0.6799 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005898/0.659, allocations: 115.9 kB / 0.68 GB, free: 10.04 MB / 0.4948 GB 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001989/0.661, allocations: 1.643 MB / 0.6816 GB, free: 8.363 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001325/0.6624, allocations: 0.7687 MB / 0.6824 GB, free: 7.566 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.6624, allocations: 4 kB / 0.6824 GB, free: 7.562 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000851/0.6632, allocations: 0.56 MB / 0.6829 GB, free: 6.977 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005445/0.6638, allocations: 68.53 kB / 0.683 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003882/0.6677, allocations: 2.508 MB / 0.6855 GB, free: 4.367 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004596/0.6682, allocations: 0.8151 MB / 0.6862 GB, free: 3.527 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003107/0.6685, allocations: 87.53 kB / 0.6863 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.6687, allocations: 111.4 kB / 0.6864 GB, free: 3.332 MB / 0.4948 GB Notification: Performance of SimCode: time 1.233e-06/0.6687, allocations: 0 / 0.6864 GB, free: 3.332 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02559/0.6943, allocations: 10.18 MB / 0.6964 GB, free: 9.461 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002913/0.6946, allocations: 227.8 kB / 0.6966 GB, free: 9.211 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.245/2.94, allocations: 0 / 0.6966 GB, free: 9.211 MB / 0.5105 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestJunction_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Topology_Tests_TestJunction_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Topology_Tests_TestJunction.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestJunction_res.mat does not exist to compare? outputFormat=mat