Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleCoolingCycle.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.Examples.SimpleCoolingCycle,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Examples_SimpleCoolingCycle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Examples.SimpleCoolingCycle,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Examples_SimpleCoolingCycle",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.0007798/0.0007798, allocations: 175.8 kB / 15.45 MB, free: 6.172 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.047/1.047, allocations: 205 MB / 221.2 MB, free: 1.844 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006551/0.0006551, allocations: 102.2 kB / 269.2 MB, free: 1.793 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.4554/0.4554, allocations: 90.53 MB / 407.7 MB, free: 15.09 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002476/0.0002476, allocations: 8 kB / 484.3 MB, free: 3.492 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08635/0.08661, allocations: 65.82 MB / 0.5372 GB, free: 1.605 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleCoolingCycle): time 0.3197/0.4064, allocations: 208.7 MB / 0.7411 GB, free: 7.727 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.2352/0.6416, allocations: 31.26 MB / 0.7716 GB, free: 1.469 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/0.6432, allocations: 41.88 kB / 0.7716 GB, free: 1.469 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002165/0.6454, allocations: 0.8346 MB / 0.7724 GB, free: 1.465 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003648/0.6491, allocations: 1.385 MB / 0.7738 GB, free: 1.445 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005079/0.6541, allocations: 2.265 MB / 0.776 GB, free: 1.422 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002865/0.657, allocations: 2.952 MB / 0.7789 GB, free: 1.414 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006145/0.6576, allocations: 0.5022 MB / 0.7794 GB, free: 1.273 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001291/0.6589, allocations: 0.9793 MB / 0.7803 GB, free: 1.273 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008213/0.6598, allocations: 0.941 MB / 0.7813 GB, free: 1.27 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001695/0.66, allocations: 73.59 kB / 0.7813 GB, free: 1.27 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004015/0.664, allocations: 2.113 MB / 0.7834 GB, free: 1.23 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002727/0.6643, allocations: 328.7 kB / 0.7837 GB, free: 1.23 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0006772/0.6649, allocations: 0.8727 MB / 0.7846 GB, free: 1.23 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003631/0.6686, allocations: 3.396 MB / 0.7879 GB, free: 0.9883 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.6686, allocations: 0.875 kB / 0.7879 GB, free: 0.9883 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6686, allocations: 0 / 0.7879 GB, free: 0.9883 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.661e-05/0.6686, allocations: 0 / 0.7879 GB, free: 0.9883 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.00332/0.6719, allocations: 2.283 MB / 0.7901 GB, free: 15.8 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.672, allocations: 12.31 kB / 0.7901 GB, free: 15.8 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000209/0.6722, allocations: 229.2 kB / 0.7903 GB, free: 15.75 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001324/0.6735, allocations: 329.3 kB / 0.7906 GB, free: 15.64 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.6747, allocations: 0.9787 MB / 0.7916 GB, free: 15.23 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002416/0.6749, allocations: 308.4 kB / 0.7919 GB, free: 15.04 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/0.6751, allocations: 165.9 kB / 0.7921 GB, free: 15.03 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002441/0.6776, allocations: 1.786 MB / 0.7938 GB, free: 14.84 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/0.6776, allocations: 3.75 kB / 0.7938 GB, free: 14.84 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.6777, allocations: 66.5 kB / 0.7939 GB, free: 14.84 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/0.6778, allocations: 40.78 kB / 0.7939 GB, free: 14.84 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002305/0.6801, allocations: 1.59 MB / 0.7955 GB, free: 14.81 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006943/0.687, allocations: 7.367 MB / 0.8027 GB, free: 11.09 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002169/0.6892, allocations: 1.634 MB / 0.8043 GB, free: 11.03 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/0.6903, allocations: 0.76 MB / 0.805 GB, free: 11.01 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005201/0.6955, allocations: 5.914 MB / 0.8108 GB, free: 6.973 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001456/0.6969, allocations: 0.9071 MB / 0.8117 GB, free: 6.887 MB / 0.573 GB Notification: Performance of pre-optimization done (n=150): time 2.344e-06/0.697, allocations: 4 kB / 0.8117 GB, free: 6.883 MB / 0.573 GB Notification: Performance of matching and sorting (n=150): time 0.009193/0.7062, allocations: 3.91 MB / 0.8155 GB, free: 6.25 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.71e-05/0.7062, allocations: 144.8 kB / 0.8156 GB, free: 6.09 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008953/0.7071, allocations: 1.04 MB / 0.8166 GB, free: 5.93 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 7.687e-05/0.7072, allocations: 50.61 kB / 0.8167 GB, free: 5.898 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003667/0.7076, allocations: 0.7452 MB / 0.8174 GB, free: 5.602 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002879/0.7079, allocations: 0.5101 MB / 0.8179 GB, free: 5.273 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.847e-05/0.708, allocations: 24.12 kB / 0.8179 GB, free: 5.273 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.7081, allocations: 372.2 kB / 0.8183 GB, free: 4.961 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009848/0.7091, allocations: 0.5898 MB / 0.8189 GB, free: 4.953 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.7103, allocations: 0.878 MB / 0.8197 GB, free: 4.68 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002155/0.7125, allocations: 1.473 MB / 0.8212 GB, free: 4.41 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.7125, allocations: 3.25 kB / 0.8212 GB, free: 4.41 MB / 0.573 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.005153/0.7176, allocations: 2.49 MB / 0.8236 GB, free: 4.172 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001182/0.7178, allocations: 276.2 kB / 0.8239 GB, free: 3.852 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.7178, allocations: 15.09 kB / 0.8239 GB, free: 3.848 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002488/0.7203, allocations: 0.7104 MB / 0.8246 GB, free: 3.781 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.7214, allocations: 353.6 kB / 0.8249 GB, free: 3.777 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004697/0.7261, allocations: 5.679 MB / 0.8304 GB, free: 15.19 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008715/0.727, allocations: 208.8 kB / 0.8306 GB, free: 15.09 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.7271, allocations: 86.62 kB / 0.8307 GB, free: 15.08 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.521e-06/0.7272, allocations: 3.594 kB / 0.8307 GB, free: 15.08 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004954/0.7321, allocations: 2.307 MB / 0.833 GB, free: 14.63 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.7321, allocations: 10.03 kB / 0.833 GB, free: 14.63 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002479/0.7346, allocations: 0.7157 MB / 0.8337 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.7357, allocations: 347.5 kB / 0.834 GB, free: 14.35 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004603/0.7404, allocations: 5.671 MB / 0.8396 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008042/0.7412, allocations: 185.7 kB / 0.8397 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.7413, allocations: 83.06 kB / 0.8398 GB, free: 9.602 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,PID.I.local_reset,thermalConvectionPipe.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (3,1,88.9%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004696/0.7418, allocations: 408.3 kB / 0.8402 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/0.742, allocations: 158.8 kB / 0.8404 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005834/0.7478, allocations: 2.633 MB / 0.8429 GB, free: 8.633 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.7478, allocations: 19.64 kB / 0.8429 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.7479, allocations: 7.438 kB / 0.843 GB, free: 8.625 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/0.7479, allocations: 11.95 kB / 0.843 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006811/0.7547, allocations: 4.066 MB / 0.8469 GB, free: 6.641 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.7547, allocations: 0 / 0.8469 GB, free: 6.641 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/0.7559, allocations: 312 kB / 0.8472 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00251/0.7584, allocations: 0.7069 MB / 0.8479 GB, free: 5.707 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.941e-05/0.7585, allocations: 59.77 kB / 0.848 GB, free: 5.672 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00472/0.7633, allocations: 5.669 MB / 0.8535 GB, free: 76 kB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.7633, allocations: 4.062 kB / 0.8535 GB, free: 72 kB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006354/0.7696, allocations: 3.212 MB / 0.8567 GB, free: 13.65 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004068/0.7701, allocations: 367.9 kB / 0.857 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.7702, allocations: 33.73 kB / 0.857 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008022/0.771, allocations: 130.4 kB / 0.8572 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/0.7712, allocations: 116.1 kB / 0.8573 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/0.7713, allocations: 69.78 kB / 0.8573 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006146/0.7719, allocations: 0.6841 MB / 0.858 GB, free: 12.54 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.772, allocations: 0 / 0.858 GB, free: 12.54 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002167/0.7741, allocations: 1.196 MB / 0.8592 GB, free: 11.46 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (heatExchange_CounterFlowNTU.h_out_A,heatExchange_CounterFlowNTU.h_out_B,flexVolume.M,flexVolume.U_med,pump.m_flow,speed.phi,speed.w,speed1.phi,speed1.w,fan.m_flow,heatCapacitor.T,PID.I.y,PI.x) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (3,1,88.9%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008459/0.7826, allocations: 4.979 MB / 0.864 GB, free: 7.535 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.005225/0.7878, allocations: 3.632 MB / 0.8676 GB, free: 4.555 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.7878, allocations: 0 / 0.8676 GB, free: 4.555 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002008/0.7899, allocations: 1.421 MB / 0.869 GB, free: 3.355 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.7913, allocations: 411.5 kB / 0.8694 GB, free: 3.059 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02196/0.8133, allocations: 15.6 MB / 0.8846 GB, free: 4.035 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006782/0.814, allocations: 1.314 MB / 0.8859 GB, free: 2.695 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001535/0.8155, allocations: 394.3 kB / 0.8863 GB, free: 2.305 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008304/0.8164, allocations: 0.7336 MB / 0.887 GB, free: 1.57 MB / 0.6198 GB Notification: Performance of SimCode: time 3.51e-07/0.8164, allocations: 0 / 0.887 GB, free: 1.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06044/0.8768, allocations: 50.19 MB / 0.936 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/0.8771, allocations: 297 kB / 0.9363 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.086/3.963, allocations: 0 / 0.9363 GB, free: 15.27 MB / 0.6823 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleCoolingCycle.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleCoolingCycle.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleCoolingCycle.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleCoolingCycle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleCoolingCycle_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Examples_SimpleCoolingCycle_fmu --startTime=0 --stopTime=10000 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Examples_SimpleCoolingCycle.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleCoolingCycle.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleCoolingCycle_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Examples.SimpleCoolingCycle_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleCoolingCycle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Thread is still alive. OMC died, but the thread is still running? This will end badly. The log-file of omc: Created ZeroMQ Server. Dumped server port in file: /tmp/openmodelica.hudson.port.efc064190a6b46d88fa098153ccadd88 Limited backtrace at point of segmentation fault /lib/x86_64-linux-gnu/libc.so.6(+0x430c0)[0x7f262c31c0c0] /lib/x86_64-linux-gnu/libc.so.6(+0x18b764)[0x7f262c464764] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaRuntimeC.so(omc_matlab4_read_all_vals+0x19d)[0x7f262c15583b] /usr/bin/../lib/x86_64-linux-gnu/omc/libomcruntime.so(+0x64f36)[0x7f262c1f3f36] /usr/bin/../lib/x86_64-linux-gnu/omc/libomcruntime.so(+0x621ff)[0x7f262c1f11ff] /usr/bin/../lib/x86_64-linux-gnu/omc/libomcruntime.so(SimulationResultsCmp_compareResults+0x21e)[0x7f262c1ef984] /usr/bin/../lib/x86_64-linux-gnu/omc/libomcruntime.so(SimulationResults_diffSimulationResults+0x2b)[0x7f262c1f45fd] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_SimulationResults_diffSimulationResults+0x3b)[0x7f262cb4cd64] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScriptBackend_cevalInteractiveFunctions4+0xa8e4)[0x7f262cecd4ac] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScriptBackend_cevalInteractiveFunctions3+0x4eb3)[0x7f262ced43bc] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScript_cevalInteractiveFunctions2+0x420d)[0x7f262d4a8162] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScript_cevalInteractiveFunctions+0x1f7)[0x7f262d4abcfe] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_BackendInterface_cevalInteractiveFunctions+0x5d)[0x7f262d6e88e7] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_Ceval_cevalWork2+0x31a8)[0x7f262d6dc0b7] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_Ceval_cevalWork1+0xaf)[0x7f262d6dc9d3] Segmentation fault (core dumped) Aborted the command. Failed to read output from testmodel.py, exit status != 0: 4.08643796807155 4.100926201 3.430314237 OMC died, but the thread is still running? This will end badly.