Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.MCV.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.FlowControl.Tests.MCV,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_MCV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.MCV,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_MCV",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.009414/0.009414, allocations: 171.1 kB / 15.12 MB, free: 5.559 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.786/1.786, 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.001025/0.001025, allocations: 98.84 kB / 269.6 MB, free: 13.34 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.9357/0.9357, allocations: 90.59 MB / 408.5 MB, free: 14.96 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 1500 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 1500 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.0003752, allocations: 8 kB / 485.3 MB, free: 1.957 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.529/0.5294, allocations: 66.27 MB / 0.5387 GB, free: 45.52 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.MCV): time 0.2232/0.7526, allocations: 162.3 MB / 0.6971 GB, free: 9.297 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02847/0.7811, allocations: 18.06 MB / 0.7148 GB, free: 7.219 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002984/0.7842, allocations: 31.81 kB / 0.7148 GB, free: 7.188 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.003886/0.7881, allocations: 0.8436 MB / 0.7156 GB, free: 6.34 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0099/0.7981, allocations: 2.079 MB / 0.7177 GB, free: 4.254 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.005522/0.8037, allocations: 1.24 MB / 0.7189 GB, free: 3.012 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.004742/0.8084, allocations: 1.817 MB / 0.7207 GB, free: 1.191 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.8096, allocations: 382.1 kB / 0.721 GB, free: 0.8008 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002991/0.8126, allocations: 0.9731 MB / 0.722 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002418/0.815, allocations: 1.054 MB / 0.723 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0006747/0.8157, allocations: 76 kB / 0.7231 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008862/0.8246, allocations: 2.871 MB / 0.7259 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0008786/0.8255, allocations: 294.7 kB / 0.7262 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.001182/0.8267, allocations: 360.7 kB / 0.7265 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.005229/0.832, allocations: 2.022 MB / 0.7285 GB, free: 9.141 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.832, allocations: 0 / 0.7285 GB, free: 9.141 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.234e-06/0.832, allocations: 0 / 0.7285 GB, free: 9.141 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.922e-05/0.8321, allocations: 0 / 0.7285 GB, free: 9.141 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 357 * Number of variables: 357 Notification: Performance of Generate backend data structure: time 0.007305/0.8395, allocations: 2.44 MB / 0.7309 GB, free: 6.602 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.871e-05/0.8395, allocations: 8.031 kB / 0.7309 GB, free: 6.594 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006478/0.8402, allocations: 205 kB / 0.7311 GB, free: 6.387 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007484/0.8409, allocations: 205.6 kB / 0.7313 GB, free: 6.184 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002546/0.8435, allocations: 0.866 MB / 0.7321 GB, free: 5.262 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.8437, allocations: 114.8 kB / 0.7322 GB, free: 5.148 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004603/0.8441, allocations: 155.9 kB / 0.7324 GB, free: 4.996 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004177/0.8483, allocations: 1.726 MB / 0.734 GB, free: 3.203 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.908e-05/0.8484, allocations: 0 / 0.734 GB, free: 3.203 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000157/0.8485, allocations: 56 kB / 0.7341 GB, free: 3.148 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.736e-05/0.8486, allocations: 39.98 kB / 0.7341 GB, free: 3.109 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004042/0.8526, allocations: 1.735 MB / 0.7358 GB, free: 1.371 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01088/0.8635, allocations: 6.882 MB / 0.7426 GB, free: 9.945 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006251/0.8698, allocations: 2.248 MB / 0.7447 GB, free: 7.645 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007381/0.8773, allocations: 5 MB / 0.7496 GB, free: 2.168 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002562/0.8799, allocations: 1.165 MB / 0.7508 GB, free: 0.9648 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=186): time 1.63e-05/0.8799, allocations: 0 / 0.7508 GB, free: 0.9648 MB / 0.5573 GB Notification: Performance of matching and sorting (n=186): time 0.3336/1.213, allocations: 3.87 MB / 0.7545 GB, free: 179.3 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/1.214, allocations: 317 kB / 0.7549 GB, free: 178.9 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/1.215, allocations: 0.9753 MB / 0.7558 GB, free: 178.8 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001678/1.215, allocations: 67.61 kB / 0.7559 GB, free: 178.8 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006711/1.216, allocations: 0.6177 MB / 0.7565 GB, free: 178.6 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006418/1.217, allocations: 0.6174 MB / 0.7571 GB, free: 178.2 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/1.217, allocations: 33.72 kB / 0.7571 GB, free: 178.2 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001641/1.217, allocations: 369.9 kB / 0.7575 GB, free: 177.9 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00234/1.219, allocations: 0.7296 MB / 0.7582 GB, free: 177.9 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002756/1.222, allocations: 0.9755 MB / 0.7591 GB, free: 177.7 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002595/1.225, allocations: 0.9719 MB / 0.7601 GB, free: 177.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/1.225, allocations: 0.9375 kB / 0.7601 GB, free: 177.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.00681/1.232, allocations: 2.467 MB / 0.7625 GB, free: 176.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001165/1.232, allocations: 176.7 kB / 0.7627 GB, free: 176.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.043e-05/1.232, allocations: 4.656 kB / 0.7627 GB, free: 176.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/1.233, allocations: 241.5 kB / 0.7629 GB, free: 176.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002045/1.235, allocations: 405.2 kB / 0.7633 GB, free: 176.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007446/1.242, allocations: 8.552 MB / 0.7716 GB, free: 168.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003157/1.246, allocations: 250 kB / 0.7719 GB, free: 168.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006387/1.246, allocations: 74.91 kB / 0.7719 GB, free: 168.1 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition6,$PRE.trapezoid2.T_start,trapezoid2.T_start,$PRE.trapezoid2.count,trapezoid2.count,$whenCondition4,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,$whenCondition2,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,$whenCondition1,$PRE.pulse1.T_start,pulse1.T_start,$PRE.pulse1.count,pulse1.count,$whenCondition3,$PRE.pulse3.T_start,pulse3.T_start,$PRE.pulse3.count,pulse3.count,$whenCondition5,$PRE.pulse5.T_start,pulse5.T_start,$PRE.pulse5.count,pulse5.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001521/1.248, allocations: 331.6 kB / 0.7723 GB, free: 167.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001094/1.249, allocations: 160.3 kB / 0.7724 GB, free: 167.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008693/1.258, allocations: 2.219 MB / 0.7746 GB, free: 166.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.924e-05/1.258, allocations: 23.38 kB / 0.7746 GB, free: 166.9 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.174e-05/1.258, allocations: 7.406 kB / 0.7746 GB, free: 166.9 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.966e-05/1.258, allocations: 12.52 kB / 0.7746 GB, free: 166.9 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01267/1.271, allocations: 4.284 MB / 0.7788 GB, free: 164.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-05/1.271, allocations: 4.344 kB / 0.7788 GB, free: 164.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0024/1.273, allocations: 409.5 kB / 0.7792 GB, free: 164.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001079/1.274, allocations: 240.1 kB / 0.7794 GB, free: 164.7 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002829/1.275, allocations: 66.73 kB / 0.7795 GB, free: 164.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0084/1.283, allocations: 8.557 MB / 0.7878 GB, free: 156.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.369e-05/1.283, allocations: 9.984 kB / 0.7878 GB, free: 156.3 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01301/1.296, allocations: 4.002 MB / 0.7918 GB, free: 154.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009149/1.297, allocations: 262 kB / 0.792 GB, free: 154.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006042/1.298, allocations: 51.67 kB / 0.7921 GB, free: 154.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001903/1.3, allocations: 158.2 kB / 0.7922 GB, free: 154 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006938/1.3, allocations: 221 kB / 0.7924 GB, free: 154 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003/1.301, allocations: 72.75 kB / 0.7925 GB, free: 154 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001415/1.302, allocations: 0.6462 MB / 0.7931 GB, free: 153.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.22e-07/1.302, allocations: 0 / 0.7931 GB, free: 153.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004177/1.306, allocations: 0.8091 MB / 0.7939 GB, free: 153.5 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 12 (mCV1.dp_int,flowResistance1.inlet.m_flow,mCV2.dp_int,flowResistance2.inlet.m_flow,mCV3.dp_int,flowResistance3.inlet.m_flow,mCV4.dp_int,flowResistance4.inlet.m_flow,mCV.dp_int,flowResistance.inlet.m_flow,mCV5.dp_int,flowResistance5.inlet.m_flow) * Number of discrete variables: 18 ($whenCondition1,pulse1.T_start,pulse1.count,$whenCondition2,trapezoid.T_start,trapezoid.count,$whenCondition3,pulse3.T_start,pulse3.count,$whenCondition4,trapezoid1.T_start,trapezoid1.count,$whenCondition5,pulse5.T_start,pulse5.count,$whenCondition6,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 6 (trapezoid2.count,pulse5.count,trapezoid1.count,pulse3.count,trapezoid.count,pulse1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (192): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01283/1.319, allocations: 6.367 MB / 0.8001 GB, free: 149.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007118/1.326, allocations: 3.154 MB / 0.8032 GB, free: 147.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/1.326, allocations: 1.156 kB / 0.8032 GB, free: 147.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00509/1.332, allocations: 2.153 MB / 0.8053 GB, free: 146.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003809/1.335, allocations: 475.1 kB / 0.8058 GB, free: 146.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03021/1.366, allocations: 15.1 MB / 0.8205 GB, free: 136.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00155/1.367, allocations: 1.35 MB / 0.8218 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002128/1.369, allocations: 290.5 kB / 0.8221 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001186/1.371, allocations: 0.7236 MB / 0.8228 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of SimCode: time 1.163e-06/1.371, allocations: 0 / 0.8228 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1054/1.476, allocations: 51.47 MB / 0.8731 GB, free: 87.34 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002824/1.476, allocations: 209.6 kB / 0.8733 GB, free: 87.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.207/5.683, allocations: 0 / 0.8733 GB, free: 87.1 MB / 0.5573 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.MCV.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.MCV.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.MCV.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.MCV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.MCV_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_MCV_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_MCV.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.MCV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.MCV_res.mat does not exist to compare? outputFormat=mat