Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.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.00131/0.00131, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001386/0.001386, allocations: 206.9 kB / 22.24 MB, free: 5.262 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.409/1.409, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8454/0.8454, allocations: 134 MB / 446.4 MB, free: 9.941 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 70.8 kB / 0.6185 GB, free: 6.855 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1987, allocations: 85.9 MB / 0.7024 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5428/0.7414, allocations: 142.2 MB / 0.8413 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006502/0.7479, allocations: 4.184 MB / 0.8453 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004727/0.7484, allocations: 15.81 kB / 0.8454 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005203/0.7489, allocations: 135 kB / 0.8455 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001041/0.75, allocations: 338.5 kB / 0.8458 GB, free: 364 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008276/0.7508, allocations: 278.4 kB / 0.8461 GB, free: 88 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007861/0.7516, allocations: 0.5651 MB / 0.8466 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003165/0.7519, allocations: 161.4 kB / 0.8468 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.7529, allocations: 466.3 kB / 0.8472 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003452/0.7533, allocations: 195.2 kB / 0.8474 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.757e-05/0.7533, allocations: 19.94 kB / 0.8474 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002357/0.7535, allocations: 87.84 kB / 0.8475 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.7537, allocations: 87.73 kB / 0.8476 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.7538, allocations: 99.53 kB / 0.8477 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0004366/0.7543, allocations: 312.9 kB / 0.848 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.7543, allocations: 0 / 0.848 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7543, allocations: 0 / 0.848 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.7543, allocations: 0 / 0.848 GB, free: 14.13 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0009213/0.7552, allocations: 488.6 kB / 0.8485 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.7553, allocations: 12.03 kB / 0.8485 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.869e-05/0.7553, allocations: 50.55 kB / 0.8485 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.365e-05/0.7554, allocations: 31.81 kB / 0.8485 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004359/0.7558, allocations: 221.5 kB / 0.8488 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.7558, allocations: 19.98 kB / 0.8488 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.659e-05/0.7559, allocations: 24 kB / 0.8488 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004849/0.7564, allocations: 254 kB / 0.849 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.7564, allocations: 3.938 kB / 0.849 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.7564, allocations: 8 kB / 0.849 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.7564, allocations: 4 kB / 0.8491 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003457/0.7568, allocations: 147.8 kB / 0.8492 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.7583, allocations: 1.304 MB / 0.8505 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003211/0.7586, allocations: 179.7 kB / 0.8506 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.7588, allocations: 100.9 kB / 0.8507 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003176/0.7591, allocations: 47.94 kB / 0.8508 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.7592, allocations: 34.56 kB / 0.8508 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.7592, allocations: 0 / 0.8508 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of matching and sorting (n=10): time 0.0006174/0.7598, allocations: 210.8 kB / 0.851 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001585/0.7599, allocations: 187.9 kB / 0.8512 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003155/0.7603, allocations: 292.2 kB / 0.8515 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.7603, allocations: 29.7 kB / 0.8515 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.7604, allocations: 147.9 kB / 0.8516 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.7604, allocations: 39.69 kB / 0.8517 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-05/0.7605, allocations: 33.7 kB / 0.8517 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.7607, allocations: 334.8 kB / 0.852 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.7608, allocations: 43.97 kB / 0.8521 GB, free: 9.594 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003333/0.7611, allocations: 223.2 kB / 0.8523 GB, free: 9.324 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.7614, allocations: 158.6 kB / 0.8524 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7614, allocations: 0 / 0.8524 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003964/0.7618, allocations: 201.2 kB / 0.8526 GB, free: 8.945 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.7619, allocations: 10.19 kB / 0.8526 GB, free: 8.938 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.7619, allocations: 3.938 kB / 0.8526 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.7619, allocations: 4 kB / 0.8526 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.762, allocations: 27.98 kB / 0.8527 GB, free: 8.902 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.762, allocations: 4.219 kB / 0.8527 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.7622, allocations: 23.88 kB / 0.8527 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.7622, allocations: 12 kB / 0.8527 GB, free: 8.863 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001494/0.7624, allocations: 149.7 kB / 0.8529 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.7625, allocations: 35.75 kB / 0.8529 GB, free: 8.672 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003404/0.7628, allocations: 127 kB / 0.853 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.7628, allocations: 4 kB / 0.853 GB, free: 8.535 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.7628, allocations: 4 kB / 0.853 GB, free: 8.531 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.7628, allocations: 4 kB / 0.853 GB, free: 8.527 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009381/0.7638, allocations: 0.7253 MB / 0.8537 GB, free: 7.734 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.7638, allocations: 0 / 0.8537 GB, free: 7.734 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.7639, allocations: 27.92 kB / 0.8538 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.7639, allocations: 0 / 0.8538 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.7639, allocations: 4 kB / 0.8538 GB, free: 7.703 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.7639, allocations: 2.688 kB / 0.8538 GB, free: 7.703 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7639, allocations: 7.938 kB / 0.8538 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005365/0.7645, allocations: 343.6 kB / 0.8541 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.256e-05/0.7645, allocations: 39.77 kB / 0.8541 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.031e-05/0.7646, allocations: 0 / 0.8541 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.7647, allocations: 15.98 kB / 0.8541 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.7648, allocations: 15.86 kB / 0.8542 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.7648, allocations: 4 kB / 0.8542 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002196/0.765, allocations: 211.1 kB / 0.8544 GB, free: 7.047 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.765, allocations: 4.062 kB / 0.8544 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003269/0.7653, allocations: 51.94 kB / 0.8544 GB, free: 6.992 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0009523/0.7663, allocations: 0.8845 MB / 0.8553 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003633/0.7666, allocations: 132 kB / 0.8554 GB, free: 5.938 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7666, allocations: 0 / 0.8554 GB, free: 5.938 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001648/0.7668, allocations: 59.83 kB / 0.8555 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000766/0.7676, allocations: 133.7 kB / 0.8556 GB, free: 5.762 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003538/0.7711, allocations: 2.597 MB / 0.8581 GB, free: 3.012 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.7713, allocations: 158.1 kB / 0.8583 GB, free: 2.84 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000158/0.7714, allocations: 46.27 kB / 0.8583 GB, free: 2.793 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.7716, allocations: 75.41 kB / 0.8584 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of SimCode: time 6.01e-07/0.7716, allocations: 0 / 0.8584 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04015/0.8117, allocations: 7.831 MB / 0.866 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.98, allocations: 3.938 kB / 0.8661 GB, free: 11.13 MB / 0.6387 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.574472920969129] Failed to read output from testmodel.py, exit status != 0: 12.088948057033122 12.115375656 11.356287915 Calling exit ...