Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.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.001296/0.001296, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.001428/0.001428, allocations: 220 kB / 22.24 MB, free: 5.109 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.396/1.396, allocations: 230.6 MB / 256 MB, free: 7.816 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.827/0.827, allocations: 134 MB / 446.4 MB, free: 9.949 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.EnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",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.001979/0.001979, allocations: 63.72 kB / 0.6185 GB, free: 6.918 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1722, allocations: 85.91 MB / 0.7024 GB, free: 1.09 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5194/0.6917, allocations: 147.8 MB / 0.8467 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008696/0.7003, allocations: 6.01 MB / 0.8526 GB, free: 9.469 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004912/0.7008, allocations: 19.81 kB / 0.8526 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006564/0.7015, allocations: 174.7 kB / 0.8528 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002515/0.704, allocations: 0.848 MB / 0.8536 GB, free: 8.426 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.7051, allocations: 339.3 kB / 0.8539 GB, free: 8.098 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001073/0.7061, allocations: 0.7252 MB / 0.8546 GB, free: 7.371 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000493/0.7066, allocations: 221.9 kB / 0.8548 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001293/0.7079, allocations: 0.5682 MB / 0.8554 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005279/0.7085, allocations: 267 kB / 0.8556 GB, free: 6.324 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 6.459e-05/0.7085, allocations: 24 kB / 0.8557 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006597/0.7092, allocations: 299.2 kB / 0.8559 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001638/0.7093, allocations: 115.6 kB / 0.8561 GB, free: 5.895 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002111/0.7096, allocations: 135.3 kB / 0.8562 GB, free: 5.762 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0007694/0.7103, allocations: 473.6 kB / 0.8566 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.7103, allocations: 0 / 0.8566 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7103, allocations: 4 kB / 0.8566 GB, free: 5.301 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.579e-05/0.7103, allocations: 4 kB / 0.8566 GB, free: 5.297 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001014/0.7114, allocations: 0.5438 MB / 0.8572 GB, free: 4.723 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.7114, allocations: 15.97 kB / 0.8572 GB, free: 4.707 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.265e-05/0.7115, allocations: 62.53 kB / 0.8572 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003312/0.7118, allocations: 63.67 kB / 0.8573 GB, free: 4.574 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005784/0.7124, allocations: 263.6 kB / 0.8576 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.7124, allocations: 20.66 kB / 0.8576 GB, free: 4.27 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.767e-05/0.7125, allocations: 24 kB / 0.8576 GB, free: 4.246 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005822/0.713, allocations: 324.9 kB / 0.8579 GB, free: 3.902 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.7131, allocations: 0 / 0.8579 GB, free: 3.902 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.025e-05/0.7131, allocations: 12 kB / 0.8579 GB, free: 3.891 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.7131, allocations: 15.94 kB / 0.8579 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004316/0.7135, allocations: 205.4 kB / 0.8581 GB, free: 3.676 MB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.7151, allocations: 1.195 MB / 0.8593 GB, free: 2.418 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002697/0.7154, allocations: 110.5 kB / 0.8594 GB, free: 2.301 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/0.7156, allocations: 80.81 kB / 0.8595 GB, free: 2.219 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000484/0.7161, allocations: 75.91 kB / 0.8596 GB, free: 2.145 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.7161, allocations: 34.81 kB / 0.8596 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.7161, allocations: 0 / 0.8596 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of matching and sorting (n=13): time 0.0007669/0.7169, allocations: 276.4 kB / 0.8599 GB, free: 1.828 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.7169, allocations: 55.41 kB / 0.8599 GB, free: 1.762 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003382/0.7173, allocations: 308.5 kB / 0.8602 GB, free: 1.449 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.7173, allocations: 29.7 kB / 0.8602 GB, free: 1.414 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.7174, allocations: 192.2 kB / 0.8604 GB, free: 1.223 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.601e-05/0.7175, allocations: 51.58 kB / 0.8605 GB, free: 1.172 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.577e-05/0.7176, allocations: 33.72 kB / 0.8605 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.7177, allocations: 346.7 kB / 0.8608 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.7179, allocations: 55.95 kB / 0.8609 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000275/0.7181, allocations: 186.2 kB / 0.8611 GB, free: 0.5117 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003454/0.7185, allocations: 188.5 kB / 0.8612 GB, free: 320 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.7185, allocations: 0 / 0.8612 GB, free: 320 kB / 0.6231 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000424/0.7189, allocations: 217.2 kB / 0.8614 GB, free: 96 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.7189, allocations: 4 kB / 0.8614 GB, free: 92 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.7189, allocations: 8.141 kB / 0.8615 GB, free: 84 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.719, allocations: 4 kB / 0.8615 GB, free: 80 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.7191, allocations: 31.98 kB / 0.8615 GB, free: 48 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.7191, allocations: 3.938 kB / 0.8615 GB, free: 44 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.7193, allocations: 35.38 kB / 0.8615 GB, free: 12 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.7193, allocations: 7.938 kB / 0.8615 GB, free: 4 kB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001696/0.7195, allocations: 149.8 kB / 0.8617 GB, free: 15.84 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.137e-05/0.7195, allocations: 27.81 kB / 0.8617 GB, free: 15.82 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004552/0.72, allocations: 216.2 kB / 0.8619 GB, free: 15.6 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.72, allocations: 48 / 0.8619 GB, free: 15.6 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.72, allocations: 7.984 kB / 0.8619 GB, free: 15.59 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.72, allocations: 0 / 0.8619 GB, free: 15.59 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.7211, allocations: 0.6359 MB / 0.8625 GB, free: 14.89 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.7211, allocations: 0 / 0.8625 GB, free: 14.89 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.7212, allocations: 27.92 kB / 0.8626 GB, free: 14.86 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.7212, allocations: 7.938 kB / 0.8626 GB, free: 14.85 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.7212, allocations: 4 kB / 0.8626 GB, free: 14.85 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.7212, allocations: 3.984 kB / 0.8626 GB, free: 14.84 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.7212, allocations: 4 kB / 0.8626 GB, free: 14.84 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004501/0.7217, allocations: 337.2 kB / 0.8629 GB, free: 14.47 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 9.913e-05/0.7218, allocations: 47.84 kB / 0.863 GB, free: 14.43 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/0.7218, allocations: 11.88 kB / 0.863 GB, free: 14.41 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.722, allocations: 8 kB / 0.863 GB, free: 14.41 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.722, allocations: 15.97 kB / 0.863 GB, free: 14.39 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.722, allocations: 11.31 kB / 0.863 GB, free: 14.38 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.0002261/0.7222, allocations: 219.1 kB / 0.8632 GB, free: 14.17 MB / 0.6388 GB Notification: Performance of sort global known variables: time 6e-08/0.7222, allocations: 0 / 0.8632 GB, free: 14.17 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.000371/0.7226, allocations: 83.81 kB / 0.8633 GB, free: 14.09 MB / 0.6388 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0009025/0.7235, allocations: 0.9054 MB / 0.8642 GB, free: 13.13 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.0004002/0.7239, allocations: 155.3 kB / 0.8643 GB, free: 12.98 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7239, allocations: 0 / 0.8643 GB, free: 12.98 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.7241, allocations: 79.88 kB / 0.8644 GB, free: 12.91 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000793/0.7249, allocations: 142.5 kB / 0.8645 GB, free: 12.78 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003502/0.7284, allocations: 2.824 MB / 0.8673 GB, free: 9.797 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001771/0.7286, allocations: 163.8 kB / 0.8674 GB, free: 9.617 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.0001896/0.7288, allocations: 71.11 kB / 0.8675 GB, free: 9.551 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.7289, allocations: 95.41 kB / 0.8676 GB, free: 9.457 MB / 0.6388 GB Notification: Performance of SimCode: time 3.91e-07/0.7289, allocations: 0 / 0.8676 GB, free: 9.457 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04098/0.7699, allocations: 9.178 MB / 0.8766 GB, free: 0.5586 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/12.1, allocations: 10.33 kB / 0.8766 GB, free: 0.5508 MB / 0.6388 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.591751945205033] Failed to read output from testmodel.py, exit status != 0: 12.214117019902915 12.238115132999999 11.524360702 Calling exit ...