Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 118.3 kB / 18.5 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 213.5 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.525/1.525, allocations: 230.6 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2864/0.2864, allocations: 46.92 MB / 357.8 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 71.88 kB / 0.4916 GB, free: 7.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1321, allocations: 65.99 MB / 0.5561 GB, free: 5.859 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03705/0.1692, allocations: 30.37 MB / 0.5857 GB, free: 7.379 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3383/0.5075, allocations: 15.58 MB / 0.6009 GB, free: 3.699 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004962/0.508, allocations: 16.59 kB / 0.6009 GB, free: 3.699 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009289/0.5089, allocations: 223.2 kB / 0.6012 GB, free: 3.695 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009647/0.5099, allocations: 275.1 kB / 0.6014 GB, free: 3.688 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02134/0.5312, allocations: 5.648 MB / 0.6069 GB, free: 3.566 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001815/0.5331, allocations: 0.8178 MB / 0.6077 GB, free: 3.566 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005008/0.5336, allocations: 205.7 kB / 0.6079 GB, free: 3.551 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01365/0.5472, allocations: 5.506 MB / 0.6133 GB, free: 1.957 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007863/0.548, allocations: 243.4 kB / 0.6135 GB, free: 1.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.998e-05/0.5481, allocations: 29.34 kB / 0.6136 GB, free: 1.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01529/0.5634, allocations: 6.097 MB / 0.6195 GB, free: 1.512 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002432/0.5636, allocations: 93.88 kB / 0.6196 GB, free: 1.477 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005025/0.5641, allocations: 185 kB / 0.6198 GB, free: 1.414 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01241/0.5765, allocations: 3.68 MB / 0.6234 GB, free: 15.48 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.5765, allocations: 0 / 0.6234 GB, free: 15.48 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5765, allocations: 1.062 kB / 0.6234 GB, free: 15.48 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.5765, allocations: 0 / 0.6234 GB, free: 15.48 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.004342/0.5809, allocations: 1.02 MB / 0.6244 GB, free: 14.69 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/0.5809, allocations: 9.375 kB / 0.6244 GB, free: 14.69 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.261e-05/0.581, allocations: 15.34 kB / 0.6244 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.897e-05/0.5811, allocations: 64.38 kB / 0.6245 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.5822, allocations: 118.6 kB / 0.6246 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006616/0.5829, allocations: 340.4 kB / 0.6249 GB, free: 14.26 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.01e-05/0.5829, allocations: 27.31 kB / 0.6249 GB, free: 14.25 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.319e-05/0.5829, allocations: 27.12 kB / 0.625 GB, free: 14.23 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.5842, allocations: 456.2 kB / 0.6254 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.5842, allocations: 1.188 kB / 0.6254 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.179e-05/0.5843, allocations: 11.72 kB / 0.6254 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.5843, allocations: 10.94 kB / 0.6254 GB, free: 13.9 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.5854, allocations: 367 kB / 0.6258 GB, free: 13.73 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003712/0.5891, allocations: 2.386 MB / 0.6281 GB, free: 11.49 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.5903, allocations: 277.9 kB / 0.6284 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002898/0.5906, allocations: 89.7 kB / 0.6284 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005093/0.5911, allocations: 483.7 kB / 0.6289 GB, free: 10.78 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.5911, allocations: 40.33 kB / 0.6289 GB, free: 10.73 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 2.224e-06/0.5911, allocations: 1.656 kB / 0.6289 GB, free: 10.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.001788/0.5929, allocations: 449.5 kB / 0.6294 GB, free: 10.5 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.468e-05/0.593, allocations: 108.1 kB / 0.6295 GB, free: 10.38 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003914/0.5934, allocations: 325.4 kB / 0.6298 GB, free: 10.17 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.5934, allocations: 31.08 kB / 0.6298 GB, free: 10.13 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/0.5936, allocations: 205.9 kB / 0.63 GB, free: 9.945 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.28e-05/0.5937, allocations: 44.47 kB / 0.6301 GB, free: 9.91 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.5938, allocations: 58.31 kB / 0.6301 GB, free: 9.867 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.594, allocations: 337.7 kB / 0.6304 GB, free: 9.535 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004022/0.5944, allocations: 85.3 kB / 0.6305 GB, free: 9.496 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004131/0.5948, allocations: 210.5 kB / 0.6307 GB, free: 9.293 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000677/0.5955, allocations: 285.4 kB / 0.631 GB, free: 9.062 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.5955, allocations: 3.984 kB / 0.631 GB, free: 9.059 MB / 462.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000816/0.5963, allocations: 315.7 kB / 0.6313 GB, free: 8.891 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.5963, allocations: 7.156 kB / 0.6313 GB, free: 8.891 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.5963, allocations: 3.375 kB / 0.6313 GB, free: 8.891 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.5964, allocations: 10.03 kB / 0.6313 GB, free: 8.887 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/0.5966, allocations: 68.83 kB / 0.6314 GB, free: 8.863 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.5967, allocations: 5.312 kB / 0.6314 GB, free: 8.863 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.597, allocations: 45.59 kB / 0.6314 GB, free: 8.836 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.597, allocations: 13.61 kB / 0.6314 GB, free: 8.832 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_2.medium.phase,boundary_prescriberho_1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002122/0.5972, allocations: 153.8 kB / 0.6316 GB, free: 8.691 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.296e-05/0.5973, allocations: 34.94 kB / 0.6316 GB, free: 8.672 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/0.5986, allocations: 0.7471 MB / 0.6323 GB, free: 8.219 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.568e-05/0.5987, allocations: 9.953 kB / 0.6324 GB, free: 8.211 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.5987, allocations: 7.938 kB / 0.6324 GB, free: 8.203 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.5987, allocations: 6.844 kB / 0.6324 GB, free: 8.199 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007184/0.5994, allocations: 0.5326 MB / 0.6329 GB, free: 7.762 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.5994, allocations: 0 / 0.6329 GB, free: 7.762 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002159/0.5996, allocations: 41.86 kB / 0.6329 GB, free: 7.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.5996, allocations: 2.562 kB / 0.6329 GB, free: 7.75 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.5996, allocations: 0 / 0.6329 GB, free: 7.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.5996, allocations: 3.938 kB / 0.6329 GB, free: 7.746 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.5996, allocations: 3.344 kB / 0.6329 GB, free: 7.746 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007925/0.6004, allocations: 463.4 kB / 0.6334 GB, free: 7.441 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.6005, allocations: 124.9 kB / 0.6335 GB, free: 7.309 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.443e-05/0.6006, allocations: 24.28 kB / 0.6335 GB, free: 7.293 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.6008, allocations: 22.61 kB / 0.6335 GB, free: 7.277 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.419e-05/0.6009, allocations: 20.94 kB / 0.6336 GB, free: 7.266 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.6009, allocations: 5.562 kB / 0.6336 GB, free: 7.266 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000406/0.6013, allocations: 340.1 kB / 0.6339 GB, free: 7.066 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6013, allocations: 0 / 0.6339 GB, free: 7.066 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003791/0.6051, allocations: 0.8511 MB / 0.6347 GB, free: 6.914 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007459/0.6126, allocations: 1.898 MB / 0.6366 GB, free: 5.832 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009647/0.6135, allocations: 259.1 kB / 0.6368 GB, free: 5.715 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.6135, allocations: 2.594 kB / 0.6368 GB, free: 5.715 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003128/0.6139, allocations: 132.4 kB / 0.637 GB, free: 5.656 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.615, allocations: 190.9 kB / 0.6371 GB, free: 5.559 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008313/0.6233, allocations: 4.032 MB / 0.6411 GB, free: 2.707 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005644/0.6239, allocations: 0.8422 MB / 0.6419 GB, free: 1.836 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004683/0.6243, allocations: 135.9 kB / 0.642 GB, free: 1.707 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002677/0.6246, allocations: 163.4 kB / 0.6422 GB, free: 1.547 MB / 462.1 MB Notification: Performance of SimCode: time 1.493e-06/0.6246, allocations: 0 / 0.6422 GB, free: 1.547 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07763/0.7022, allocations: 39.13 MB / 0.6804 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.53, allocations: 16.55 kB / 0.6804 GB, free: 10.56 MB / 0.4981 GB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201597 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.722485811042134] Failed to read output from testmodel.py, exit status != 0: ['time', 'specificEnthalpy.h_out', 'specificEnthalpy1.h_out'] 11.684953646967188 11.699609283000001 11.119945091 Calling exit ...