Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.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.TestSplitter,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter",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.001213/0.001213, allocations: 99.39 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.001434/0.001434, allocations: 177.3 kB / 15.95 MB, free: 216 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.472/1.472, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7925/0.7925, allocations: 89.64 MB / 380.6 MB, free: 11.41 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003791/0.0003793, allocations: 10.44 kB / 460 MB, free: 24.37 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1558, allocations: 68.84 MB / 0.5165 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.4912/0.647, allocations: 120.1 MB / 0.6337 GB, free: 9.367 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003727/0.6508, allocations: 3.491 MB / 0.6371 GB, free: 6.605 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.651, allocations: 3.844 kB / 0.6371 GB, free: 6.605 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004732/0.6515, allocations: 133.7 kB / 0.6373 GB, free: 6.496 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004264/0.6519, allocations: 219.4 kB / 0.6375 GB, free: 6.312 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.6522, allocations: 94.39 kB / 0.6376 GB, free: 6.238 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003065/0.6525, allocations: 224.2 kB / 0.6378 GB, free: 6.105 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.6527, allocations: 72.55 kB / 0.6379 GB, free: 6.07 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002607/0.653, allocations: 123.9 kB / 0.638 GB, free: 6 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.6532, allocations: 119.6 kB / 0.6381 GB, free: 5.938 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.6532, allocations: 8.5 kB / 0.6381 GB, free: 5.938 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004604/0.6537, allocations: 263.9 kB / 0.6384 GB, free: 5.84 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.868e-05/0.6537, allocations: 28.47 kB / 0.6384 GB, free: 5.816 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.316e-05/0.6537, allocations: 68.95 kB / 0.6384 GB, free: 5.766 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.654, allocations: 199.2 kB / 0.6386 GB, free: 5.645 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.654, allocations: 0 / 0.6386 GB, free: 5.645 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.654, allocations: 0 / 0.6386 GB, free: 5.645 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.654, allocations: 1.281 kB / 0.6386 GB, free: 5.645 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0007508/0.6548, allocations: 498.5 kB / 0.6391 GB, free: 5.176 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.6548, allocations: 9.031 kB / 0.6391 GB, free: 5.176 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.008e-05/0.6549, allocations: 53.27 kB / 0.6392 GB, free: 5.121 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.786e-05/0.655, allocations: 25.69 kB / 0.6392 GB, free: 5.109 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.6552, allocations: 234.8 kB / 0.6394 GB, free: 4.859 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.6552, allocations: 9.781 kB / 0.6394 GB, free: 4.855 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.207e-05/0.6553, allocations: 24.91 kB / 0.6395 GB, free: 4.844 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003219/0.6556, allocations: 226.2 kB / 0.6397 GB, free: 4.691 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.6556, allocations: 0 / 0.6397 GB, free: 4.691 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.6557, allocations: 9.656 kB / 0.6397 GB, free: 4.684 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.6557, allocations: 5.719 kB / 0.6397 GB, free: 4.684 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001905/0.6559, allocations: 126.3 kB / 0.6398 GB, free: 4.621 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009801/0.6568, allocations: 0.7542 MB / 0.6405 GB, free: 3.969 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/0.6571, allocations: 136.1 kB / 0.6407 GB, free: 3.887 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001793/0.6573, allocations: 243.8 kB / 0.6409 GB, free: 3.602 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.6574, allocations: 38.56 kB / 0.6409 GB, free: 3.555 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.6574, allocations: 0 / 0.6409 GB, free: 3.555 MB / 462.1 MB Notification: Performance of matching and sorting (n=16): time 0.001436/0.6588, allocations: 0.8807 MB / 0.6418 GB, free: 2.785 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.6589, allocations: 66.19 kB / 0.6419 GB, free: 2.711 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.6591, allocations: 227.2 kB / 0.6421 GB, free: 2.547 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.6591, allocations: 32.27 kB / 0.6421 GB, free: 2.512 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.471e-05/0.6592, allocations: 132 kB / 0.6422 GB, free: 2.383 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.305e-05/0.6593, allocations: 54.31 kB / 0.6423 GB, free: 2.336 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.666e-06/0.6593, allocations: 4 kB / 0.6423 GB, free: 2.332 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.6594, allocations: 332.6 kB / 0.6426 GB, free: 2.004 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.434e-05/0.6595, allocations: 43.33 kB / 0.6426 GB, free: 1.984 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.812e-05/0.6596, allocations: 75.61 kB / 0.6427 GB, free: 1.934 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.533e-05/0.6597, allocations: 63.33 kB / 0.6428 GB, free: 1.898 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.6597, allocations: 2.812 kB / 0.6428 GB, free: 1.898 MB / 462.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004034/0.6601, allocations: 248.7 kB / 0.643 GB, free: 1.75 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.6601, allocations: 8.25 kB / 0.643 GB, free: 1.746 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.6602, allocations: 2.938 kB / 0.643 GB, free: 1.746 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002953/0.6605, allocations: 87.55 kB / 0.6431 GB, free: 1.703 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.207e-05/0.6606, allocations: 23.86 kB / 0.6431 GB, free: 1.695 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00197/0.6625, allocations: 1.837 MB / 0.6449 GB, free: 24 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.423e-05/0.6626, allocations: 2.188 kB / 0.6449 GB, free: 24 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.6627, allocations: 9.562 kB / 0.6449 GB, free: 20 kB / 462.1 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 (11): * Single equations (assignments): 10 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001551/0.6628, allocations: 136.1 kB / 0.6451 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/0.6629, allocations: 25.97 kB / 0.6451 GB, free: 15.87 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004572/0.6633, allocations: 275.3 kB / 0.6454 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.6633, allocations: 2.938 kB / 0.6454 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.6634, allocations: 5 kB / 0.6454 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.6634, allocations: 2.75 kB / 0.6454 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007079/0.6641, allocations: 0.5859 MB / 0.6459 GB, free: 15.14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.6641, allocations: 0 / 0.6459 GB, free: 15.14 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.819e-05/0.6641, allocations: 6.531 kB / 0.6459 GB, free: 15.14 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002629/0.6644, allocations: 107.2 kB / 0.6461 GB, free: 15.08 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.6644, allocations: 8.344 kB / 0.6461 GB, free: 15.08 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001835/0.6663, allocations: 1.84 MB / 0.6479 GB, free: 13.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.6663, allocations: 2.344 kB / 0.6479 GB, free: 13.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005492/0.6668, allocations: 443.8 kB / 0.6483 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.877e-05/0.6669, allocations: 101.4 kB / 0.6484 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.363e-05/0.667, allocations: 6.406 kB / 0.6484 GB, free: 12.92 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.6671, allocations: 4 kB / 0.6484 GB, free: 12.92 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.6671, allocations: 15.47 kB / 0.6484 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.956e-06/0.6671, allocations: 2.625 kB / 0.6484 GB, free: 12.91 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001815/0.6673, allocations: 187 kB / 0.6486 GB, free: 12.78 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6673, allocations: 0 / 0.6486 GB, free: 12.78 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003917/0.6677, allocations: 71.92 kB / 0.6487 GB, free: 12.77 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (5): * Single equations (assignments): 4 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001041/0.6688, allocations: 1.24 MB / 0.6499 GB, free: 11.65 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005695/0.6694, allocations: 304.4 kB / 0.6502 GB, free: 11.43 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.6694, allocations: 0 / 0.6502 GB, free: 11.43 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000383/0.6698, allocations: 248 kB / 0.6504 GB, free: 11.24 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005413/0.6703, allocations: 92.62 kB / 0.6505 GB, free: 11.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/0.6726, allocations: 1.735 MB / 0.6522 GB, free: 9.934 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.673, allocations: 0.7544 MB / 0.6529 GB, free: 9.199 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 8.742e-05/0.673, allocations: 31.5 kB / 0.6529 GB, free: 9.18 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.036e-05/0.6731, allocations: 61.39 kB / 0.653 GB, free: 9.129 MB / 478.1 MB Notification: Performance of SimCode: time 2.1e-07/0.6731, allocations: 0 / 0.653 GB, free: 9.129 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01802/0.6912, allocations: 7.204 MB / 0.66 GB, free: 5.668 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001669/0.6914, allocations: 195.6 kB / 0.6602 GB, free: 5.434 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.84/2.531, allocations: 7.938 kB / 0.6602 GB, free: 5.426 MB / 478.1 MB (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter.fmu > ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.mat does not exist to compare? outputFormat=mat