Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.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.Undirected.Topology.Tests.TestConnectors,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Topology_Tests_TestConnectors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Topology.Tests.TestConnectors,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Topology_Tests_TestConnectors",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.01022/0.01022, allocations: 168.3 kB / 15.12 MB, free: 5.555 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.784/1.784, allocations: 205.4 MB / 221.3 MB, free: 13.7 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.0009441/0.000944, allocations: 90.84 kB / 269.6 MB, free: 13.23 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.7614/0.7614, allocations: 90.58 MB / 408.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003105/0.0003108, allocations: 12 kB / 485.3 MB, free: 1.988 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5307/0.5311, allocations: 66.27 MB / 0.5387 GB, free: 45.2 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.2214/0.7525, allocations: 191 MB / 0.7252 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.03361/0.7862, allocations: 25.69 MB / 0.7503 GB, free: 2.699 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00309/0.7893, allocations: 47.75 kB / 0.7503 GB, free: 2.652 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.004656/0.794, allocations: 1.427 MB / 0.7517 GB, free: 1.219 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.377/1.171, allocations: 2.552 MB / 0.7542 GB, free: 7.234 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.007031/1.178, allocations: 1.881 MB / 0.756 GB, free: 7.215 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00674/1.185, allocations: 2.708 MB / 0.7587 GB, free: 7.215 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001863/1.187, allocations: 0.7386 MB / 0.7594 GB, free: 23.09 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004891/1.192, allocations: 1.599 MB / 0.761 GB, free: 23.08 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003657/1.195, allocations: 1.687 MB / 0.7626 GB, free: 23.07 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0004058/1.196, allocations: 103.5 kB / 0.7627 GB, free: 23.07 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01102/1.207, allocations: 3.636 MB / 0.7663 GB, free: 23.05 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0008851/1.208, allocations: 396.3 kB / 0.7666 GB, free: 23.05 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002761/1.21, allocations: 0.5028 MB / 0.7671 GB, free: 23.02 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.00885/1.219, allocations: 3.09 MB / 0.7701 GB, free: 22.75 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.219, allocations: 0.75 kB / 0.7701 GB, free: 22.75 MB / 0.573 GB Notification: Performance of FrontEnd: time 4.389e-06/1.219, allocations: 2.531 kB / 0.7701 GB, free: 22.75 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001185/1.22, allocations: 1.859 kB / 0.7701 GB, free: 22.75 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 532 * Number of variables: 532 Notification: Performance of Generate backend data structure: time 0.009036/1.229, allocations: 2.671 MB / 0.7728 GB, free: 21.44 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/1.229, allocations: 10.66 kB / 0.7728 GB, free: 21.44 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008248/1.229, allocations: 295.3 kB / 0.773 GB, free: 21.39 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006788/1.23, allocations: 264.7 kB / 0.7733 GB, free: 21.26 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002405/1.233, allocations: 1.065 MB / 0.7743 GB, free: 20.89 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001857/1.233, allocations: 152.3 kB / 0.7745 GB, free: 20.89 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004146/1.233, allocations: 216.1 kB / 0.7747 GB, free: 20.88 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005165/1.238, allocations: 2.412 MB / 0.777 GB, free: 20.71 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.055e-05/1.238, allocations: 0 / 0.777 GB, free: 20.71 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001876/1.239, allocations: 81.62 kB / 0.7771 GB, free: 20.71 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.169e-05/1.239, allocations: 57.19 kB / 0.7772 GB, free: 20.71 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004811/1.244, allocations: 2.275 MB / 0.7794 GB, free: 20.69 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01968/1.263, allocations: 12.15 MB / 0.7913 GB, free: 13.74 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004755/1.268, allocations: 2.356 MB / 0.7936 GB, free: 13.62 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01038/1.279, allocations: 6.637 MB / 0.8001 GB, free: 9.703 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002035/1.281, allocations: 1.217 MB / 0.8012 GB, free: 9.613 MB / 0.573 GB Notification: Performance of pre-optimization done (n=217): time 4.809e-06/1.281, allocations: 2.625 kB / 0.8012 GB, free: 9.613 MB / 0.573 GB Notification: Performance of matching and sorting (n=218): time 0.01415/1.295, allocations: 7.572 MB / 0.8086 GB, free: 6.207 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.247e-05/1.295, allocations: 97.8 kB / 0.8087 GB, free: 6.113 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/1.296, allocations: 0.9702 MB / 0.8097 GB, free: 5.965 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001679/1.296, allocations: 58.86 kB / 0.8097 GB, free: 5.934 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006261/1.297, allocations: 0.7764 MB / 0.8105 GB, free: 5.625 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006106/1.298, allocations: 0.7245 MB / 0.8112 GB, free: 5.148 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/1.298, allocations: 34.66 kB / 0.8112 GB, free: 5.148 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001902/1.298, allocations: 374.8 kB / 0.8116 GB, free: 4.844 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001442/1.299, allocations: 0.8097 MB / 0.8124 GB, free: 4.836 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/1.301, allocations: 0.9863 MB / 0.8133 GB, free: 4.719 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001606/1.303, allocations: 0.9518 MB / 0.8143 GB, free: 4.664 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/1.303, allocations: 0 / 0.8143 GB, free: 4.664 MB / 0.573 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.005772/1.308, allocations: 2.771 MB / 0.817 GB, free: 4.375 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 5.49e-05/1.308, allocations: 40.86 kB / 0.817 GB, free: 4.34 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/1.308, allocations: 5.062 kB / 0.817 GB, free: 4.34 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001928/1.31, allocations: 0.6206 MB / 0.8176 GB, free: 4.254 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/1.312, allocations: 299.5 kB / 0.8179 GB, free: 4.25 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0169/1.328, allocations: 15.33 MB / 0.8329 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002496/1.331, allocations: 186.6 kB / 0.8331 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003396/1.331, allocations: 80.08 kB / 0.8331 GB, free: 8.266 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(3,77.8%) 18,(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001166/1.333, allocations: 407.2 kB / 0.8335 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003996/1.333, allocations: 170.8 kB / 0.8337 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006677/1.34, allocations: 3.359 MB / 0.837 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.719e-05/1.34, allocations: 24.53 kB / 0.837 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/1.34, allocations: 11.36 kB / 0.837 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.383e-05/1.34, allocations: 15.7 kB / 0.837 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01073/1.35, allocations: 5.84 MB / 0.8427 GB, free: 5.566 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/1.351, allocations: 0 / 0.8427 GB, free: 5.566 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/1.352, allocations: 333.5 kB / 0.843 GB, free: 5.516 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001679/1.353, allocations: 0.5389 MB / 0.8436 GB, free: 5.289 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001801/1.354, allocations: 83.03 kB / 0.8437 GB, free: 5.273 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01317/1.367, allocations: 14.19 MB / 0.8575 GB, free: 8.703 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.367, allocations: 1.859 kB / 0.8575 GB, free: 8.703 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00879/1.376, allocations: 4.383 MB / 0.8618 GB, free: 5.727 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/1.377, allocations: 264.3 kB / 0.862 GB, free: 5.457 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004542/1.377, allocations: 51 kB / 0.8621 GB, free: 5.441 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001669/1.379, allocations: 159.4 kB / 0.8622 GB, free: 5.316 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005346/1.379, allocations: 198.5 kB / 0.8624 GB, free: 5.152 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000226/1.38, allocations: 98.44 kB / 0.8625 GB, free: 5.074 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0008987/1.381, allocations: 0.6575 MB / 0.8632 GB, free: 4.574 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/1.381, allocations: 0 / 0.8632 GB, free: 4.574 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.004268/1.385, allocations: 0.9165 MB / 0.8641 GB, free: 3.801 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (connectRearRear.rear_a.m_flow,connectForeFore.fore_a.m_flow,connectInletFore.fore.m_flow,connectRearOutlet.rear.m_flow,sink1.inlet.m_flow,boundary_fore3.rear.m_flow,flowResistance.rear.m_flow,flowResistance2.rear.m_flow,flowResistance3.inlet.m_flow,flowResistance4.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 171 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 8,(3,77.8%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01164/1.397, allocations: 6.28 MB / 0.8702 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.007468/1.404, allocations: 3.83 MB / 0.8739 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.404, allocations: 0 / 0.8739 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00477/1.409, allocations: 2.892 MB / 0.8768 GB, free: 9.41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00379/1.413, allocations: 0.5219 MB / 0.8773 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02609/1.439, allocations: 14.7 MB / 0.8916 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002165/1.441, allocations: 1.579 MB / 0.8932 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002972/1.444, allocations: 432.1 kB / 0.8936 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001745/1.446, allocations: 0.9138 MB / 0.8945 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of SimCode: time 1.813e-06/1.446, allocations: 0 / 0.8945 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1346/1.581, allocations: 65.82 MB / 0.9588 GB, free: 8.719 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002471/1.581, allocations: 230.3 kB / 0.959 GB, free: 8.48 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.719/6.299, allocations: 0 / 0.959 GB, free: 8.48 MB / 0.698 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Topology_Tests_TestConnectors_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Topology_Tests_TestConnectors.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors_res.mat does not exist to compare? outputFormat=mat