Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.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.Processes.Tests.TestFlowResistance,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TestFlowResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TestFlowResistance",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.001024/0.001024, allocations: 175 kB / 12.73 MB, free: 2.59 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.543/1.543, 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.001022/0.001022, allocations: 91.69 kB / 266.6 MB, free: 9.273 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.8119/0.8119, allocations: 90.35 MB / 405 MB, free: 8.633 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.83e-05/3.832e-05, allocations: 4 kB / 479.3 MB, free: 14.24 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.386, allocations: 66.25 MB / 0.5327 GB, free: 28.55 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.184/1.57, allocations: 437.1 MB / 0.9596 GB, free: 157.3 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/1.57, allocations: 79.05 kB / 0.9597 GB, free: 157.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.1936/1.764, allocations: 101.6 MB / 1.059 GB, free: 89.35 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.122e-06/1.764, allocations: 0 / 1.059 GB, free: 89.35 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.25e-05/1.764, allocations: 16 kB / 1.059 GB, free: 89.33 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001727/1.765, allocations: 0.8062 MB / 1.06 GB, free: 88.48 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/1.766, allocations: 8.031 kB / 1.06 GB, free: 88.47 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001419/1.766, allocations: 86.45 kB / 1.06 GB, free: 88.38 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004896/1.766, allocations: 83.22 kB / 1.06 GB, free: 88.3 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005753/1.767, allocations: 379.5 kB / 1.06 GB, free: 87.89 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.94e-05/1.767, allocations: 32.94 kB / 1.06 GB, free: 87.86 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.956e-05/1.767, allocations: 43.98 kB / 1.06 GB, free: 87.81 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006928/1.768, allocations: 442.5 kB / 1.061 GB, free: 87.38 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/1.768, allocations: 3.984 kB / 1.061 GB, free: 87.37 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.677e-05/1.768, allocations: 20 kB / 1.061 GB, free: 87.35 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/1.768, allocations: 11.98 kB / 1.061 GB, free: 87.34 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006663/1.768, allocations: 475.8 kB / 1.061 GB, free: 86.87 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00228/1.771, allocations: 2.206 MB / 1.063 GB, free: 84.42 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007437/1.771, allocations: 0.5271 MB / 1.064 GB, free: 83.89 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003092/1.772, allocations: 250.5 kB / 1.064 GB, free: 83.64 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002053/1.774, allocations: 1.842 MB / 1.066 GB, free: 81.59 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/1.774, allocations: 42.98 kB / 1.066 GB, free: 81.53 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=55): time 3.086e-06/1.774, allocations: 4 kB / 1.066 GB, free: 81.53 MB / 0.5886 GB Notification: Performance of matching and sorting (n=55): time 0.0009588/1.775, allocations: 0.515 MB / 1.066 GB, free: 81 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/1.775, allocations: 59.84 kB / 1.066 GB, free: 80.93 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/1.775, allocations: 291.6 kB / 1.067 GB, free: 80.64 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/1.775, allocations: 29.7 kB / 1.067 GB, free: 80.61 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.809e-05/1.775, allocations: 224.6 kB / 1.067 GB, free: 80.38 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 9.696e-05/1.775, allocations: 193.2 kB / 1.067 GB, free: 80.19 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.153e-05/1.775, allocations: 8 kB / 1.067 GB, free: 80.18 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.648e-05/1.775, allocations: 354.8 kB / 1.068 GB, free: 79.83 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/1.776, allocations: 165 kB / 1.068 GB, free: 79.66 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002554/1.776, allocations: 218.3 kB / 1.068 GB, free: 79.44 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/1.776, allocations: 195.1 kB / 1.068 GB, free: 79.25 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/1.776, allocations: 3.938 kB / 1.068 GB, free: 79.25 MB / 0.5886 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008732/1.777, allocations: 0.5501 MB / 1.069 GB, free: 78.68 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/1.777, allocations: 9.719 kB / 1.069 GB, free: 78.67 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/1.777, allocations: 8.062 kB / 1.069 GB, free: 78.66 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002686/1.777, allocations: 65.67 kB / 1.069 GB, free: 78.59 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003247/1.778, allocations: 79.89 kB / 1.069 GB, free: 78.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/1.779, allocations: 2.714 MB / 1.071 GB, free: 75.53 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003351/1.78, allocations: 43.56 kB / 1.071 GB, free: 75.48 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.326e-05/1.78, allocations: 23.98 kB / 1.072 GB, free: 75.46 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001092/1.78, allocations: 132.7 kB / 1.072 GB, free: 75.32 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-05/1.78, allocations: 51.44 kB / 1.072 GB, free: 75.27 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/1.781, allocations: 0.6851 MB / 1.072 GB, free: 74.57 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/1.781, allocations: 8 kB / 1.072 GB, free: 74.57 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/1.781, allocations: 0 / 1.072 GB, free: 74.57 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/1.781, allocations: 3.984 kB / 1.072 GB, free: 74.56 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/1.783, allocations: 1.307 MB / 1.074 GB, free: 73.19 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/1.783, allocations: 0 / 1.074 GB, free: 73.19 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003039/1.783, allocations: 87.83 kB / 1.074 GB, free: 73.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002005/1.784, allocations: 65.58 kB / 1.074 GB, free: 73.03 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.53e-05/1.784, allocations: 15.98 kB / 1.074 GB, free: 73.02 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/1.785, allocations: 2.718 MB / 1.076 GB, free: 70.04 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.785, allocations: 0 / 1.076 GB, free: 70.04 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/1.786, allocations: 0.9355 MB / 1.077 GB, free: 69.06 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/1.786, allocations: 124.5 kB / 1.077 GB, free: 68.92 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.565e-05/1.787, allocations: 15.94 kB / 1.078 GB, free: 68.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002842/1.787, allocations: 27.95 kB / 1.078 GB, free: 68.88 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.967e-05/1.787, allocations: 44.33 kB / 1.078 GB, free: 68.83 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/1.787, allocations: 23.98 kB / 1.078 GB, free: 68.81 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001979/1.787, allocations: 230.2 kB / 1.078 GB, free: 68.59 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.1e-07/1.787, allocations: 0 / 1.078 GB, free: 68.59 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0007213/1.788, allocations: 211.6 kB / 1.078 GB, free: 68.38 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (flowResistance.rear.m_flow,flowResistance1.rear.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001847/1.79, allocations: 1.898 MB / 1.08 GB, free: 66.44 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0009735/1.791, allocations: 0.6717 MB / 1.081 GB, free: 65.74 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.791, allocations: 0 / 1.081 GB, free: 65.74 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000551/1.791, allocations: 0.4962 MB / 1.081 GB, free: 65.22 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007389/1.792, allocations: 145.1 kB / 1.081 GB, free: 65.07 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/1.794, allocations: 0.8437 MB / 1.082 GB, free: 64.19 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/1.794, allocations: 0.8476 MB / 1.083 GB, free: 63.31 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003437/1.794, allocations: 95.91 kB / 1.083 GB, free: 63.21 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/1.795, allocations: 179.4 kB / 1.083 GB, free: 63.04 MB / 0.5886 GB Notification: Performance of SimCode: time 3.3e-07/1.795, allocations: 0 / 1.083 GB, free: 63.04 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02911/1.824, allocations: 16.46 MB / 1.099 GB, free: 46.71 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/1.824, allocations: 215 kB / 1.099 GB, free: 46.47 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.577/4.4, allocations: 3.234 kB / 1.099 GB, free: 46.47 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TestFlowResistance_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TestFlowResistance.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_res.mat does not exist to compare? outputFormat=mat