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.002001/0.002001, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.002573/0.002573, allocations: 213.8 kB / 23.03 MB, free: 4.426 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.424/1.424, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.9022/0.9022, allocations: 134 MB / 447.2 MB, free: 9.93 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="cs",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.001925/0.001925, allocations: 64.38 kB / 0.6193 GB, free: 6.867 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1788, allocations: 85.91 MB / 0.7031 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5344/0.7131, allocations: 147.7 MB / 0.8474 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009356/0.7225, allocations: 6.002 MB / 0.8532 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005525/0.723, allocations: 23.81 kB / 0.8532 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006856/0.7237, allocations: 170.7 kB / 0.8534 GB, free: 9.328 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002562/0.7263, allocations: 0.848 MB / 0.8542 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.7274, allocations: 347.2 kB / 0.8546 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001119/0.7285, allocations: 0.7291 MB / 0.8553 GB, free: 7.41 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005369/0.7291, allocations: 221.9 kB / 0.8555 GB, free: 7.195 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001513/0.7306, allocations: 0.5682 MB / 0.856 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006106/0.7312, allocations: 290.8 kB / 0.8563 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.408e-05/0.7313, allocations: 20 kB / 0.8563 GB, free: 6.32 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007538/0.732, allocations: 299.2 kB / 0.8566 GB, free: 6.027 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000187/0.7322, allocations: 111.6 kB / 0.8567 GB, free: 5.918 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002481/0.7324, allocations: 143.3 kB / 0.8569 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.7335, allocations: 477.7 kB / 0.8573 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.7335, allocations: 0 / 0.8573 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7335, allocations: 0 / 0.8573 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.737e-05/0.7335, allocations: 0 / 0.8573 GB, free: 5.316 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.001127/0.7346, allocations: 0.5516 MB / 0.8579 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.7347, allocations: 12.03 kB / 0.8579 GB, free: 4.723 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.19e-05/0.7347, allocations: 4.656 kB / 0.8579 GB, free: 4.719 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.548e-05/0.7348, allocations: 58.55 kB / 0.8579 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003851/0.7352, allocations: 67.67 kB / 0.858 GB, free: 4.586 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006307/0.7358, allocations: 263.5 kB / 0.8583 GB, free: 4.305 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/0.7358, allocations: 16.66 kB / 0.8583 GB, free: 4.285 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.536e-05/0.7359, allocations: 35.97 kB / 0.8583 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006558/0.7365, allocations: 324.9 kB / 0.8586 GB, free: 3.906 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.7366, allocations: 0 / 0.8586 GB, free: 3.906 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.224e-05/0.7366, allocations: 12 kB / 0.8586 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.7366, allocations: 7.938 kB / 0.8586 GB, free: 3.887 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004627/0.7371, allocations: 201.5 kB / 0.8588 GB, free: 3.691 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.001732/0.7388, allocations: 1.199 MB / 0.86 GB, free: 2.43 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.7391, allocations: 106.5 kB / 0.8601 GB, free: 2.316 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/0.7393, allocations: 92.73 kB / 0.8602 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005156/0.7398, allocations: 71.92 kB / 0.8603 GB, free: 2.156 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.7398, allocations: 34.56 kB / 0.8603 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=13): time 2.104e-06/0.7398, allocations: 0 / 0.8603 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of matching and sorting (n=13): time 0.0008543/0.7407, allocations: 273.5 kB / 0.8605 GB, free: 1.84 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.7407, allocations: 55.41 kB / 0.8606 GB, free: 1.773 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003868/0.7411, allocations: 312.5 kB / 0.8609 GB, free: 1.457 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.7411, allocations: 29.7 kB / 0.8609 GB, free: 1.422 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.7413, allocations: 184.2 kB / 0.8611 GB, free: 1.238 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.219e-05/0.7414, allocations: 51.58 kB / 0.8611 GB, free: 1.188 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.243e-05/0.7414, allocations: 37.66 kB / 0.8612 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.7416, allocations: 342.8 kB / 0.8615 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.7418, allocations: 59.95 kB / 0.8616 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.742, allocations: 186.2 kB / 0.8617 GB, free: 0.5234 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003393/0.7423, allocations: 186.5 kB / 0.8619 GB, free: 332 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.7423, allocations: 0 / 0.8619 GB, free: 332 kB / 0.6231 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004697/0.7428, allocations: 213.4 kB / 0.8621 GB, free: 112 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.7428, allocations: 17.44 kB / 0.8621 GB, free: 96 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.7428, allocations: 0 / 0.8621 GB, free: 96 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.7429, allocations: 4 kB / 0.8621 GB, free: 92 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.743, allocations: 27.98 kB / 0.8622 GB, free: 64 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.743, allocations: 7.984 kB / 0.8622 GB, free: 56 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.7432, allocations: 27.78 kB / 0.8622 GB, free: 28 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/0.7433, allocations: 11.98 kB / 0.8622 GB, free: 16 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.0001941/0.7435, allocations: 153.8 kB / 0.8624 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.773e-05/0.7435, allocations: 31.81 kB / 0.8624 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004652/0.744, allocations: 204.2 kB / 0.8626 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.744, allocations: 8.031 kB / 0.8626 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.744, allocations: 3.984 kB / 0.8626 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.744, allocations: 0 / 0.8626 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.7451, allocations: 0.6397 MB / 0.8632 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.7451, allocations: 0 / 0.8632 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.7453, allocations: 27.98 kB / 0.8633 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.7453, allocations: 3.938 kB / 0.8633 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.7453, allocations: 12.81 kB / 0.8633 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.7453, allocations: 4 kB / 0.8633 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.7453, allocations: 0 / 0.8633 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004787/0.7458, allocations: 338.8 kB / 0.8636 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.7459, allocations: 47.73 kB / 0.8636 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.545e-05/0.7459, allocations: 4 kB / 0.8636 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.7461, allocations: 14.42 kB / 0.8637 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.7462, allocations: 7.984 kB / 0.8637 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.7462, allocations: 12 kB / 0.8637 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000255/0.7464, allocations: 219 kB / 0.8639 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.7464, allocations: 0 / 0.8639 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000417/0.7468, allocations: 83.83 kB / 0.864 GB, free: 14.11 MB / 0.6387 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.001007/0.7478, allocations: 0.9136 MB / 0.8649 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004292/0.7483, allocations: 155.8 kB / 0.865 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7483, allocations: 0 / 0.865 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001858/0.7485, allocations: 75.89 kB / 0.8651 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008664/0.7493, allocations: 150.5 kB / 0.8652 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003848/0.7532, allocations: 2.807 MB / 0.868 GB, free: 9.812 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.7534, allocations: 179.8 kB / 0.8681 GB, free: 9.617 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002283/0.7536, allocations: 62.92 kB / 0.8682 GB, free: 9.559 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.7538, allocations: 91.41 kB / 0.8683 GB, free: 9.469 MB / 0.6387 GB Notification: Performance of SimCode: time 7.01e-07/0.7538, allocations: 3.938 kB / 0.8683 GB, free: 9.465 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03316/0.7869, allocations: 8.819 MB / 0.8769 GB, free: 0.9453 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.41, allocations: 18.16 kB / 0.8769 GB, free: 0.9297 MB / 0.6387 GB " [Timeout remaining time 647] (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: 16.11118596896995] Failed to read output from testmodel.py, exit status != 0: 12.573689409065992 12.599830922 11.861454358 Calling exit ...