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.01331/0.01331, allocations: 170.8 kB / 15.12 MB, free: 6.031 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.832/1.832, 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.001104/0.001105, allocations: 82.86 kB / 269.6 MB, free: 13.35 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.8125/0.8125, allocations: 90.58 MB / 408.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003568, allocations: 12 kB / 485.3 MB, free: 1.98 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4517/0.452, allocations: 66.27 MB / 0.5387 GB, free: 45.54 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1618/0.614, allocations: 120.1 MB / 0.6559 GB, free: 3.559 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.004092/0.6181, allocations: 3.492 MB / 0.6594 GB, free: 60 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00018/0.6183, allocations: 4 kB / 0.6594 GB, free: 56 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005193/0.6189, allocations: 127.4 kB / 0.6595 GB, free: 15.93 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000499/0.6194, allocations: 231.2 kB / 0.6597 GB, free: 15.7 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002637/0.6197, allocations: 87.72 kB / 0.6598 GB, free: 15.62 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002994/0.62, allocations: 223.5 kB / 0.66 GB, free: 15.4 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002595/0.6202, allocations: 79.53 kB / 0.6601 GB, free: 15.33 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003099/0.6206, allocations: 119.6 kB / 0.6602 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002547/0.6208, allocations: 131.6 kB / 0.6603 GB, free: 15.08 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.6209, allocations: 8 kB / 0.6603 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005682/0.6215, allocations: 279.7 kB / 0.6606 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.063e-05/0.6215, allocations: 31.84 kB / 0.6606 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.325e-05/0.6216, allocations: 73.58 kB / 0.6607 GB, free: 14.69 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002955/0.6219, allocations: 209.1 kB / 0.6609 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.6219, allocations: 0 / 0.6609 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.6219, allocations: 0 / 0.6609 GB, free: 14.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.6219, allocations: 0 / 0.6609 GB, free: 14.5 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.0008527/0.6228, allocations: 0.4952 MB / 0.6614 GB, free: 13.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.6228, allocations: 8.031 kB / 0.6614 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.28e-05/0.6229, allocations: 58.55 kB / 0.6614 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.424e-05/0.6229, allocations: 25.34 kB / 0.6615 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.6232, allocations: 239.4 kB / 0.6617 GB, free: 13.58 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.6233, allocations: 17.34 kB / 0.6617 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.101e-05/0.6233, allocations: 23.91 kB / 0.6617 GB, free: 13.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003554/0.6237, allocations: 186.7 kB / 0.6619 GB, free: 13.35 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.6237, allocations: 0 / 0.6619 GB, free: 13.35 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.6237, allocations: 11.95 kB / 0.6619 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.6237, allocations: 8 kB / 0.6619 GB, free: 13.33 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002189/0.624, allocations: 126.1 kB / 0.662 GB, free: 13.21 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.6253, allocations: 1.074 MB / 0.6631 GB, free: 11.99 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003903/0.6257, allocations: 198.4 kB / 0.6633 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00024/0.626, allocations: 251.3 kB / 0.6635 GB, free: 11.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.626, allocations: 34.56 kB / 0.6636 GB, free: 11.44 MB / 490.7 MB Notification: Performance of pre-optimization done (n=17): time 1.462e-06/0.626, allocations: 0.9375 kB / 0.6636 GB, free: 11.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.001801/0.6278, allocations: 1.031 MB / 0.6646 GB, free: 10.29 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.6279, allocations: 55.41 kB / 0.6646 GB, free: 10.22 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.6281, allocations: 172.9 kB / 0.6648 GB, free: 10.04 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.6281, allocations: 29.7 kB / 0.6648 GB, free: 10.01 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.6282, allocations: 128.4 kB / 0.6649 GB, free: 9.879 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.772e-05/0.6283, allocations: 71.02 kB / 0.665 GB, free: 9.809 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.326e-06/0.6283, allocations: 3.938 kB / 0.665 GB, free: 9.805 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.6285, allocations: 330.8 kB / 0.6653 GB, free: 9.473 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.6286, allocations: 60.16 kB / 0.6654 GB, free: 9.414 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.6287, allocations: 86.7 kB / 0.6655 GB, free: 9.324 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.6288, allocations: 67.98 kB / 0.6655 GB, free: 9.258 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.6288, allocations: 0 / 0.6655 GB, free: 9.258 MB / 490.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004956/0.6293, allocations: 287.9 kB / 0.6658 GB, free: 8.969 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.6294, allocations: 4 kB / 0.6658 GB, free: 8.965 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.6294, allocations: 7.938 kB / 0.6658 GB, free: 8.957 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003244/0.6297, allocations: 90.77 kB / 0.6659 GB, free: 8.867 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.613e-05/0.6298, allocations: 20.48 kB / 0.6659 GB, free: 8.848 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/0.6319, allocations: 1.834 MB / 0.6677 GB, free: 6.883 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.632, allocations: 9 kB / 0.6677 GB, free: 6.875 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.632, allocations: 8 kB / 0.6677 GB, free: 6.867 MB / 490.7 MB 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.0001884/0.6322, allocations: 145.5 kB / 0.6679 GB, free: 6.715 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/0.6323, allocations: 15.81 kB / 0.6679 GB, free: 6.699 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005611/0.6329, allocations: 293 kB / 0.6682 GB, free: 6.41 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.6329, allocations: 0 / 0.6682 GB, free: 6.41 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.676e-06/0.6329, allocations: 4 kB / 0.6682 GB, free: 6.406 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.6329, allocations: 0 / 0.6682 GB, free: 6.406 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004022/0.6333, allocations: 301.5 kB / 0.6684 GB, free: 6.062 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.6333, allocations: 6.062 kB / 0.6685 GB, free: 6.059 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.991e-05/0.6334, allocations: 16 kB / 0.6685 GB, free: 6.043 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002726/0.6337, allocations: 92.67 kB / 0.6686 GB, free: 5.949 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.6337, allocations: 12.12 kB / 0.6686 GB, free: 5.938 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001966/0.6357, allocations: 1.84 MB / 0.6704 GB, free: 3.969 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6357, allocations: 0 / 0.6704 GB, free: 3.969 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008881/0.6366, allocations: 465.8 kB / 0.6708 GB, free: 3.496 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.997e-05/0.6367, allocations: 92.92 kB / 0.6709 GB, free: 3.387 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.6367, allocations: 0.5625 kB / 0.6709 GB, free: 3.387 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.6368, allocations: 20.03 kB / 0.6709 GB, free: 3.367 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.6369, allocations: 11.98 kB / 0.6709 GB, free: 3.355 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.6369, allocations: 7.984 kB / 0.6709 GB, free: 3.348 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001307/0.637, allocations: 133.2 kB / 0.6711 GB, free: 3.219 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.637, allocations: 0 / 0.6711 GB, free: 3.219 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00042/0.6375, allocations: 79.94 kB / 0.6711 GB, free: 3.141 MB / 490.7 MB 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.00121/0.6387, allocations: 1.041 MB / 0.6722 GB, free: 2.07 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008588/0.6396, allocations: 369.2 kB / 0.6725 GB, free: 1.691 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.6396, allocations: 0 / 0.6725 GB, free: 1.691 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004812/0.6401, allocations: 300.2 kB / 0.6728 GB, free: 1.379 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004773/0.6406, allocations: 34.47 kB / 0.6728 GB, free: 1.348 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002924/0.6435, allocations: 1.654 MB / 0.6744 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000472/0.644, allocations: 0.7558 MB / 0.6752 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.561e-05/0.6441, allocations: 29.56 kB / 0.6752 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.6442, allocations: 63.41 kB / 0.6753 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of SimCode: time 9.72e-07/0.6442, allocations: 3.938 kB / 0.6753 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02071/0.6649, allocations: 6.175 MB / 0.6813 GB, free: 8.867 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001883/0.6652, allocations: 220.4 kB / 0.6815 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.849/2.514, allocations: 0 / 0.6815 GB, free: 8.621 MB / 0.4948 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