Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.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.TestSplitter,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Topology_Tests_TestSplitter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Topology_Tests_TestSplitter",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.004859/0.004859, allocations: 167.8 kB / 15.13 MB, free: 6.023 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.28/1.28, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.0007436/0.0007436, allocations: 90.28 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.6386/0.6386, allocations: 90.61 MB / 408.5 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002821/0.0002822, allocations: 8 kB / 485.3 MB, free: 1.969 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3141, allocations: 66.29 MB / 0.5387 GB, free: 45.09 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1234/0.4375, allocations: 128.4 MB / 0.6641 GB, free: 11.06 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003694/0.4412, allocations: 3.859 MB / 0.6679 GB, free: 7.195 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.4414, allocations: 4 kB / 0.6679 GB, free: 7.191 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004088/0.4418, allocations: 135.2 kB / 0.668 GB, free: 7.059 MB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Topology/Tests/TestSplitter.mo:14:25-14:32:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Topology/Tests/TestSplitter.mo:14:39-14:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0004061/0.4423, allocations: 206.6 kB / 0.6682 GB, free: 6.855 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.4425, allocations: 92.25 kB / 0.6683 GB, free: 6.766 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003042/0.4428, allocations: 310.4 kB / 0.6686 GB, free: 6.461 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.443, allocations: 82 kB / 0.6687 GB, free: 6.387 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002226/0.4432, allocations: 127.5 kB / 0.6688 GB, free: 6.262 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.4434, allocations: 143.5 kB / 0.669 GB, free: 6.121 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.4434, allocations: 12 kB / 0.669 GB, free: 6.109 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004356/0.4439, allocations: 252.7 kB / 0.6692 GB, free: 5.863 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.894e-05/0.4439, allocations: 27.86 kB / 0.6692 GB, free: 5.836 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.462e-05/0.444, allocations: 69.58 kB / 0.6693 GB, free: 5.762 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.4443, allocations: 219.5 kB / 0.6695 GB, free: 5.547 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.4443, allocations: 0 / 0.6695 GB, free: 5.547 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.4443, allocations: 0 / 0.6695 GB, free: 5.547 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.4443, allocations: 0 / 0.6695 GB, free: 5.547 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0007126/0.445, allocations: 0.4913 MB / 0.67 GB, free: 5.012 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.4451, allocations: 8.031 kB / 0.67 GB, free: 5.004 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.403e-05/0.4451, allocations: 54.55 kB / 0.67 GB, free: 4.941 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.368e-05/0.4452, allocations: 27.72 kB / 0.6701 GB, free: 4.914 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.4454, allocations: 235.4 kB / 0.6703 GB, free: 4.641 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.4455, allocations: 11.94 kB / 0.6703 GB, free: 4.629 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.936e-05/0.4455, allocations: 32.64 kB / 0.6703 GB, free: 4.598 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.4458, allocations: 194.6 kB / 0.6705 GB, free: 4.398 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.4459, allocations: 0 / 0.6705 GB, free: 4.398 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.4459, allocations: 11.95 kB / 0.6705 GB, free: 4.387 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.4459, allocations: 4 kB / 0.6705 GB, free: 4.383 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002026/0.4461, allocations: 130.1 kB / 0.6707 GB, free: 4.258 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.4472, allocations: 1.066 MB / 0.6717 GB, free: 3.043 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003596/0.4476, allocations: 195.9 kB / 0.6719 GB, free: 2.844 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.4477, allocations: 88.77 kB / 0.672 GB, free: 2.754 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001892/0.4479, allocations: 247.3 kB / 0.6722 GB, free: 2.457 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.448, allocations: 30.56 kB / 0.6722 GB, free: 2.418 MB / 490.7 MB Notification: Performance of pre-optimization done (n=17): time 1.313e-06/0.448, allocations: 0 / 0.6722 GB, free: 2.418 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.001713/0.4497, allocations: 0.9588 MB / 0.6732 GB, free: 1.348 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.4497, allocations: 55.41 kB / 0.6732 GB, free: 1.281 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.4499, allocations: 168.9 kB / 0.6734 GB, free: 1.109 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.4499, allocations: 29.7 kB / 0.6734 GB, free: 1.074 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.487e-05/0.45, allocations: 134.2 kB / 0.6735 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.58e-05/0.4501, allocations: 74.92 kB / 0.6736 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.064e-05/0.4501, allocations: 4 kB / 0.6736 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.4503, allocations: 326.8 kB / 0.6739 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.4504, allocations: 64.16 kB / 0.674 GB, free: 484 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.4505, allocations: 83.16 kB / 0.6741 GB, free: 396 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.4506, allocations: 77.38 kB / 0.6742 GB, free: 320 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4506, allocations: 0 / 0.6742 GB, free: 320 kB / 490.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004602/0.4511, allocations: 278 kB / 0.6744 GB, free: 32 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.4511, allocations: 11.44 kB / 0.6744 GB, free: 24 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.4512, allocations: 0.75 kB / 0.6744 GB, free: 24 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003318/0.4515, allocations: 88.88 kB / 0.6745 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.611e-05/0.4516, allocations: 21.95 kB / 0.6745 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.4535, allocations: 1.807 MB / 0.6763 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.4536, allocations: 12.03 kB / 0.6763 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.889e-05/0.4537, allocations: 8 kB / 0.6763 GB, free: 13.95 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001344/0.4538, allocations: 149.4 kB / 0.6765 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.997e-05/0.4539, allocations: 18.31 kB / 0.6765 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005036/0.4544, allocations: 282.8 kB / 0.6767 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.4544, allocations: 4 kB / 0.6768 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.4544, allocations: 0 / 0.6768 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.4544, allocations: 3.984 kB / 0.6768 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003452/0.4548, allocations: 305.4 kB / 0.677 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4548, allocations: 0 / 0.677 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.923e-05/0.4548, allocations: 15.92 kB / 0.6771 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002672/0.4551, allocations: 101.6 kB / 0.6772 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.4551, allocations: 8 kB / 0.6772 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001712/0.4569, allocations: 1.813 MB / 0.6789 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4569, allocations: 0 / 0.6789 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006086/0.4575, allocations: 449.6 kB / 0.6794 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/0.4575, allocations: 88.92 kB / 0.6794 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.4576, allocations: 12.03 kB / 0.6795 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.4577, allocations: 12 kB / 0.6795 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.4578, allocations: 19.91 kB / 0.6795 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.4578, allocations: 8 kB / 0.6795 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001026/0.4579, allocations: 137.1 kB / 0.6796 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4579, allocations: 0 / 0.6796 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003374/0.4582, allocations: 79.95 kB / 0.6797 GB, free: 10.26 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (sink.inlet.m_flow,sink1.inlet.m_flow,sink2.inlet.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001021/0.4593, allocations: 1.046 MB / 0.6807 GB, free: 9.184 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006452/0.4599, allocations: 364.6 kB / 0.6811 GB, free: 8.809 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.4599, allocations: 0 / 0.6811 GB, free: 8.809 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004585/0.4604, allocations: 308.1 kB / 0.6814 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.4608, allocations: 35.27 kB / 0.6814 GB, free: 8.457 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/0.4628, allocations: 1.511 MB / 0.6829 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.4632, allocations: 0.7558 MB / 0.6836 GB, free: 6.125 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.208e-05/0.4632, allocations: 24.5 kB / 0.6836 GB, free: 6.105 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.409e-05/0.4633, allocations: 63.36 kB / 0.6837 GB, free: 6.043 MB / 0.4948 GB Notification: Performance of SimCode: time 4.81e-07/0.4633, allocations: 0 / 0.6837 GB, free: 6.043 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01799/0.4813, allocations: 6.204 MB / 0.6898 GB, free: 108 kB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002382/0.4816, allocations: 225.8 kB / 0.69 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/2.177, allocations: 0 / 0.69 GB, free: 15.86 MB / 0.5105 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Topology_Tests_TestSplitter_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Topology_Tests_TestSplitter.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter_res.mat does not exist to compare? outputFormat=mat