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.00104/0.00104, allocations: 173.9 kB / 12.73 MB, free: 2.586 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.462/1.462, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.0009445/0.0009446, allocations: 80.52 kB / 266.6 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.7708/0.7708, allocations: 90.34 MB / 405 MB, free: 8.637 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.346e-05/3.348e-05, allocations: 4 kB / 479.3 MB, free: 14.22 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.393, allocations: 66.25 MB / 0.5327 GB, free: 28.4 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.16/1.553, allocations: 445.3 MB / 0.9676 GB, free: 153.8 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003585/1.553, allocations: 83.55 kB / 0.9677 GB, free: 153.8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.009/3.562, allocations: 0.5868 GB / 1.554 GB, free: 37.98 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.523e-06/3.562, allocations: 0 / 1.554 GB, free: 37.98 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002614/3.562, allocations: 63.92 kB / 1.555 GB, free: 37.92 MB / 0.5886 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.01001/3.572, allocations: 2.803 MB / 1.557 GB, free: 35.05 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/3.572, allocations: 8.031 kB / 1.557 GB, free: 35.04 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001169/3.573, allocations: 283.5 kB / 1.558 GB, free: 34.75 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001671/3.575, allocations: 288.9 kB / 1.558 GB, free: 34.47 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003122/3.578, allocations: 1.16 MB / 1.559 GB, free: 33.25 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002/3.578, allocations: 152.4 kB / 1.559 GB, free: 33.1 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007417/3.579, allocations: 223.6 kB / 1.559 GB, free: 32.89 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0058/3.585, allocations: 2.384 MB / 1.562 GB, free: 30.44 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.945e-05/3.585, allocations: 0 / 1.562 GB, free: 30.44 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003435/3.585, allocations: 80 kB / 1.562 GB, free: 30.36 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001049/3.586, allocations: 67.97 kB / 1.562 GB, free: 30.29 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004123/3.59, allocations: 2.2 MB / 1.564 GB, free: 28.09 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01854/3.608, allocations: 12.05 MB / 1.576 GB, free: 14.76 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003824/3.612, allocations: 2.516 MB / 1.578 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001683/3.614, allocations: 1.046 MB / 1.579 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009793/3.624, allocations: 6.644 MB / 1.586 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001831/3.626, allocations: 1.141 MB / 1.587 GB, free: 2.77 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=211): time 7.584e-06/3.626, allocations: 0 / 1.587 GB, free: 2.77 MB / 0.5886 GB Notification: Performance of matching and sorting (n=212): time 0.00939/3.635, allocations: 4.1 MB / 1.591 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.952e-05/3.635, allocations: 98.89 kB / 1.591 GB, free: 14.47 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001598/3.637, allocations: 0.8327 MB / 1.592 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001737/3.637, allocations: 61.7 kB / 1.592 GB, free: 13.56 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008765/3.638, allocations: 0.7793 MB / 1.592 GB, free: 12.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008452/3.639, allocations: 0.7122 MB / 1.593 GB, free: 12.05 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/3.639, allocations: 32 kB / 1.593 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002134/3.639, allocations: 373.9 kB / 1.594 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001459/3.64, allocations: 0.7498 MB / 1.594 GB, free: 10.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001576/3.642, allocations: 0.9187 MB / 1.595 GB, free: 9.941 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001674/3.644, allocations: 0.8909 MB / 1.596 GB, free: 9.039 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/3.644, allocations: 0 / 1.596 GB, free: 9.039 MB / 0.6042 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.005544/3.649, allocations: 2.578 MB / 1.599 GB, free: 6.418 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.436e-05/3.649, allocations: 33.7 kB / 1.599 GB, free: 6.379 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/3.649, allocations: 4 kB / 1.599 GB, free: 6.375 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002084/3.652, allocations: 0.6146 MB / 1.599 GB, free: 5.734 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/3.653, allocations: 291.6 kB / 1.6 GB, free: 5.449 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4481/4.101, allocations: 11.35 MB / 1.611 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002158/4.103, allocations: 191 kB / 1.611 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002038/4.103, allocations: 75.55 kB / 1.611 GB, free: 59.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 148 * 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: 7 {(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%) 2} * Non-linear torn systems: 2 {3 18,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.000369/4.104, allocations: 205.7 kB / 1.611 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003768/4.104, allocations: 170.8 kB / 1.611 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006577/4.111, allocations: 3.121 MB / 1.614 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.199e-05/4.111, allocations: 29.45 kB / 1.614 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/4.111, allocations: 9.25 kB / 1.614 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.41e-05/4.111, allocations: 11.61 kB / 1.614 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01014/4.121, allocations: 5.454 MB / 1.62 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/4.121, allocations: 1.375 kB / 1.62 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/4.122, allocations: 305.2 kB / 1.62 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001706/4.124, allocations: 0.5445 MB / 1.62 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001875/4.124, allocations: 75.55 kB / 1.621 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01004/4.134, allocations: 14.17 MB / 1.634 GB, free: 46.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/4.134, allocations: 1.75 kB / 1.634 GB, free: 46.86 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007856/4.142, allocations: 4.093 MB / 1.638 GB, free: 46.26 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007703/4.143, allocations: 259.3 kB / 1.639 GB, free: 46.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002471/4.143, allocations: 49.19 kB / 1.639 GB, free: 46.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/4.144, allocations: 146.4 kB / 1.639 GB, free: 46.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000499/4.145, allocations: 197.1 kB / 1.639 GB, free: 46.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001994/4.145, allocations: 85.03 kB / 1.639 GB, free: 46.06 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009398/4.146, allocations: 0.6438 MB / 1.64 GB, free: 45.94 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.61e-07/4.146, allocations: 4.906 kB / 1.64 GB, free: 45.94 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003447/4.149, allocations: 0.9728 MB / 1.641 GB, free: 45.94 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.outlet.m_flow,source1.outlet.m_flow,boundary_rear3.fore.m_flow,connectRearOutlet1.outlet.m_flow,flowResistance2.rear.m_flow,boundary_fore5.rear.m_flow,sink3.inlet.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (186): * Single equations (assignments): 159 * 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.01018/4.16, allocations: 6.913 MB / 1.647 GB, free: 43.81 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.005384/4.165, allocations: 3.215 MB / 1.651 GB, free: 42.69 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/4.165, allocations: 0 / 1.651 GB, free: 42.69 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.003863/4.169, allocations: 2.638 MB / 1.653 GB, free: 41.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002751/4.172, allocations: 0.4995 MB / 1.654 GB, free: 41.38 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007396/4.179, allocations: 4.069 MB / 1.658 GB, free: 40.49 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00092/4.18, allocations: 1.542 MB / 1.659 GB, free: 39.75 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001463/4.182, allocations: 388.6 kB / 1.659 GB, free: 39.71 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001077/4.183, allocations: 0.8821 MB / 1.66 GB, free: 39.71 MB / 0.6042 GB Notification: Performance of SimCode: time 1.011e-06/4.183, allocations: 0 / 1.66 GB, free: 39.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.118/4.301, allocations: 76.95 MB / 1.735 GB, free: 34.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001843/4.301, allocations: 219.1 kB / 1.736 GB, free: 34.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.941/9.242, allocations: 0 / 1.736 GB, free: 34.13 MB / 0.6042 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