Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.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.000777/0.000777, allocations: 101.5 kB / 18.95 MB, free: 1.312 MB / 13.93 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.0008017/0.0008017, allocations: 216 kB / 22.25 MB, free: 3.676 MB / 13.93 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 0.941/0.941, allocations: 230.6 MB / 256 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7766/0.7766, allocations: 203.8 MB / 0.5042 GB, free: 10.41 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.HeatMeter,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_HeatMeter",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.001274/0.001274, allocations: 66.61 kB / 0.7182 GB, free: 3.992 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5655/0.5668, allocations: 102 MB / 0.8178 GB, free: 1.016 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.01874/0.5855, allocations: 21.64 MB / 0.8389 GB, free: 2.418 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006012/0.5915, allocations: 4.746 MB / 0.8436 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004894/0.592, allocations: 40.66 kB / 0.8436 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000671/0.5927, allocations: 280.3 kB / 0.8439 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001588/0.5943, allocations: 0.8297 MB / 0.8447 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.5955, allocations: 0.8 MB / 0.8455 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001537/0.5971, allocations: 1.635 MB / 0.8471 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004062/0.5975, allocations: 401 kB / 0.8475 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.5986, allocations: 0.7462 MB / 0.8482 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004123/0.599, allocations: 447.5 kB / 0.8486 GB, free: 12 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.427e-05/0.599, allocations: 46.78 kB / 0.8487 GB, free: 12 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006155/0.5996, allocations: 411.6 kB / 0.849 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.5998, allocations: 151 kB / 0.8492 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001896/0.6, allocations: 250.8 kB / 0.8494 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000877/0.6008, allocations: 0.9393 MB / 0.8503 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.6008, allocations: 0 / 0.8503 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6008, allocations: 0 / 0.8503 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.6008, allocations: 1.094 kB / 0.8503 GB, free: 10.95 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.0009142/0.6018, allocations: 0.8325 MB / 0.8512 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.6018, allocations: 8.969 kB / 0.8512 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.517e-05/0.6019, allocations: 76.28 kB / 0.8512 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.602, allocations: 71.09 kB / 0.8513 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006702/0.6027, allocations: 0.5247 MB / 0.8518 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.6027, allocations: 28.75 kB / 0.8518 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.181e-05/0.6028, allocations: 37.78 kB / 0.8519 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005032/0.6033, allocations: 0.504 MB / 0.8524 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.6033, allocations: 0 / 0.8524 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/0.6033, allocations: 19.89 kB / 0.8524 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.6033, allocations: 9.594 kB / 0.8524 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003771/0.6037, allocations: 302.7 kB / 0.8527 GB, free: 9.207 MB / 0.6355 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.0018/0.6055, allocations: 1.517 MB / 0.8542 GB, free: 8.008 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004408/0.6059, allocations: 238.3 kB / 0.8544 GB, free: 7.883 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.6061, allocations: 119.8 kB / 0.8545 GB, free: 7.816 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002836/0.6064, allocations: 106 kB / 0.8546 GB, free: 7.773 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.6064, allocations: 32.78 kB / 0.8546 GB, free: 7.734 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=26): time 2.024e-06/0.6064, allocations: 0 / 0.8546 GB, free: 7.734 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26): time 0.0005853/0.607, allocations: 379 kB / 0.855 GB, free: 7.535 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.607, allocations: 59.02 kB / 0.8551 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004504/0.6075, allocations: 481.1 kB / 0.8555 GB, free: 7.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.6075, allocations: 34.98 kB / 0.8556 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.6077, allocations: 263.9 kB / 0.8558 GB, free: 6.906 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.684e-05/0.6077, allocations: 98.77 kB / 0.8559 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.746e-05/0.6078, allocations: 72.25 kB / 0.856 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.6079, allocations: 357.4 kB / 0.8563 GB, free: 6.426 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.6081, allocations: 103.2 kB / 0.8564 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.6083, allocations: 248.9 kB / 0.8567 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003587/0.6086, allocations: 278 kB / 0.8569 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.6086, allocations: 1.188 kB / 0.8569 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004677/0.6091, allocations: 370.5 kB / 0.8573 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.6091, allocations: 5.375 kB / 0.8573 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.6091, allocations: 3.031 kB / 0.8573 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.6092, allocations: 6.875 kB / 0.8573 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.6094, allocations: 75.94 kB / 0.8574 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.6094, allocations: 3.938 kB / 0.8574 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.6095, allocations: 38.16 kB / 0.8574 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.6096, allocations: 16.31 kB / 0.8574 GB, free: 5.727 MB / 0.6355 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 (39): * Single equations (assignments): 39 * 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.0001843/0.6097, allocations: 185.4 kB / 0.8576 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.976e-05/0.6098, allocations: 51.92 kB / 0.8576 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005989/0.6104, allocations: 480.4 kB / 0.8581 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.6104, allocations: 15.66 kB / 0.8581 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.6104, allocations: 4.875 kB / 0.8581 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004045/0.6108, allocations: 0.5679 MB / 0.8587 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.612, allocations: 1.015 MB / 0.8597 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.612, allocations: 2.625 kB / 0.8597 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001293/0.6121, allocations: 50.75 kB / 0.8597 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.6121, allocations: 2.469 kB / 0.8597 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.6121, allocations: 13.08 kB / 0.8597 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.6121, allocations: 2.594 kB / 0.8597 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.6121, allocations: 6.906 kB / 0.8597 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006437/0.6128, allocations: 0.685 MB / 0.8604 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.6129, allocations: 96.64 kB / 0.8605 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.877e-05/0.6129, allocations: 8.094 kB / 0.8605 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.6131, allocations: 8.188 kB / 0.8605 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.6131, allocations: 33.89 kB / 0.8605 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.527e-05/0.6131, allocations: 19.64 kB / 0.8606 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002707/0.6134, allocations: 344.7 kB / 0.8609 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.6134, allocations: 0 / 0.8609 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004454/0.6139, allocations: 207.9 kB / 0.8611 GB, free: 3.211 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (vol.dynBal.U,senT.T,senHeaFlo.T) * 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 (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001199/0.6151, allocations: 1.397 MB / 0.8625 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003552/0.6154, allocations: 286.8 kB / 0.8627 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.6154, allocations: 1.469 kB / 0.8627 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.6156, allocations: 156.5 kB / 0.8629 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008929/0.6165, allocations: 337.9 kB / 0.8632 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004237/0.6207, allocations: 4.227 MB / 0.8673 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.6209, allocations: 268.9 kB / 0.8676 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003181/0.6213, allocations: 124.2 kB / 0.8677 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/0.6215, allocations: 191.1 kB / 0.8679 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of SimCode: time 4.41e-07/0.6215, allocations: 0 / 0.8679 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02858/0.6501, allocations: 18.76 MB / 0.8862 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.848/7.498, allocations: 14.11 kB / 0.8862 GB, free: 15.21 MB / 0.6667 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_HeatMeter_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_HeatMeter.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.42864722199738] Failed to read output from testmodel.py, exit status != 0: 7.584722100291401 7.595158995 6.992235776 Calling exit ...