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.0007614/0.0007614, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.0008938/0.0008938, allocations: 218.3 kB / 22.26 MB, free: 3.695 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.977/0.977, allocations: 230.6 MB / 256 MB, free: 9.633 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.8215/0.8215, allocations: 203.8 MB / 0.5042 GB, free: 10.74 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.00107/0.00107, allocations: 66.45 kB / 0.7182 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5713/0.5723, allocations: 102 MB / 0.8179 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.02063/0.593, allocations: 23.8 MB / 0.8411 GB, free: 344 kB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00723/0.6002, allocations: 5.134 MB / 0.8461 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.6013, allocations: 37.12 kB / 0.8462 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0009129/0.6022, allocations: 287.2 kB / 0.8464 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002496/0.6047, allocations: 0.8396 MB / 0.8473 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.6067, allocations: 0.8312 MB / 0.8481 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002472/0.6091, allocations: 1.655 MB / 0.8497 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005962/0.6097, allocations: 400.8 kB / 0.8501 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001699/0.6114, allocations: 0.7323 MB / 0.8508 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005367/0.612, allocations: 475.8 kB / 0.8512 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.242e-05/0.612, allocations: 45.66 kB / 0.8513 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.6133, allocations: 0.5251 MB / 0.8518 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.6134, allocations: 147.3 kB / 0.8519 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003012/0.6137, allocations: 307.8 kB / 0.8522 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.6151, allocations: 0.9527 MB / 0.8532 GB, free: 8.27 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.6151, allocations: 1.125 kB / 0.8532 GB, free: 8.27 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6151, allocations: 0 / 0.8532 GB, free: 8.27 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.6152, allocations: 0 / 0.8532 GB, free: 8.27 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.001102/0.6163, allocations: 0.8373 MB / 0.854 GB, free: 7.598 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.6163, allocations: 9.906 kB / 0.854 GB, free: 7.598 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.998e-05/0.6164, allocations: 79.33 kB / 0.8541 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/0.6166, allocations: 67.28 kB / 0.8541 GB, free: 7.492 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008615/0.6174, allocations: 0.5204 MB / 0.8546 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.167e-05/0.6174, allocations: 37.25 kB / 0.8547 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.64e-05/0.6175, allocations: 41.14 kB / 0.8547 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005874/0.6181, allocations: 432.9 kB / 0.8551 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.6181, allocations: 4 kB / 0.8551 GB, free: 6.766 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.27e-05/0.6181, allocations: 19.84 kB / 0.8552 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.108e-05/0.6182, allocations: 10.38 kB / 0.8552 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004188/0.6186, allocations: 304.2 kB / 0.8555 GB, free: 6.605 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.002002/0.6206, allocations: 1.78 MB / 0.8572 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004503/0.621, allocations: 241.5 kB / 0.8574 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/0.6213, allocations: 111.6 kB / 0.8575 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002879/0.6216, allocations: 108.2 kB / 0.8576 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.6216, allocations: 33.31 kB / 0.8577 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=26): time 2.675e-06/0.6216, allocations: 0 / 0.8577 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26): time 0.0005561/0.6222, allocations: 386.1 kB / 0.858 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.6222, allocations: 55.09 kB / 0.8581 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000421/0.6226, allocations: 476 kB / 0.8585 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.6226, allocations: 35.2 kB / 0.8586 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.6228, allocations: 260.5 kB / 0.8588 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.186e-05/0.6229, allocations: 98.3 kB / 0.8589 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.272e-05/0.6229, allocations: 75.62 kB / 0.859 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.623, allocations: 358 kB / 0.8593 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.6232, allocations: 94.33 kB / 0.8594 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.6233, allocations: 178.8 kB / 0.8596 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003062/0.6237, allocations: 284.1 kB / 0.8599 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6237, allocations: 5.094 kB / 0.8599 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005788/0.6242, allocations: 366.1 kB / 0.8602 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.6243, allocations: 6.688 kB / 0.8602 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.6243, allocations: 1.281 kB / 0.8602 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.6243, allocations: 7.719 kB / 0.8602 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.6245, allocations: 72.19 kB / 0.8603 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.6245, allocations: 11.77 kB / 0.8603 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.6247, allocations: 41.62 kB / 0.8603 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.6247, allocations: 16.5 kB / 0.8604 GB, free: 2.906 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.0001555/0.6248, allocations: 178.5 kB / 0.8605 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.429e-05/0.6249, allocations: 46.88 kB / 0.8606 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005897/0.6255, allocations: 489.1 kB / 0.861 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/0.6255, allocations: 11.28 kB / 0.8611 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.6255, allocations: 1.188 kB / 0.8611 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004331/0.6259, allocations: 0.5761 MB / 0.8616 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.6272, allocations: 1.064 MB / 0.8627 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.6272, allocations: 1.719 kB / 0.8627 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.6273, allocations: 51.06 kB / 0.8627 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.6273, allocations: 4.156 kB / 0.8627 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.6274, allocations: 12.31 kB / 0.8627 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.6274, allocations: 7.328 kB / 0.8627 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.6274, allocations: 2.531 kB / 0.8627 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006635/0.628, allocations: 0.6886 MB / 0.8634 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.6282, allocations: 100.1 kB / 0.8635 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/0.6282, allocations: 9.031 kB / 0.8635 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.6284, allocations: 7.5 kB / 0.8635 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.6284, allocations: 29.45 kB / 0.8635 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/0.6284, allocations: 19.98 kB / 0.8636 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003024/0.6287, allocations: 348.7 kB / 0.8639 GB, free: 396 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6287, allocations: 0 / 0.8639 GB, free: 396 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005704/0.6293, allocations: 199.5 kB / 0.8641 GB, free: 348 kB / 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.001206/0.6305, allocations: 1.392 MB / 0.8654 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004019/0.6309, allocations: 287.8 kB / 0.8657 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6309, allocations: 1.219 kB / 0.8657 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.6311, allocations: 154.5 kB / 0.8659 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009328/0.632, allocations: 328 kB / 0.8662 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00441/0.6364, allocations: 4.233 MB / 0.8703 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.6368, allocations: 0.8707 MB / 0.8712 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003915/0.6372, allocations: 116.6 kB / 0.8713 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002141/0.6374, allocations: 191.1 kB / 0.8715 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of SimCode: time 7.32e-07/0.6374, allocations: 0 / 0.8715 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03973/0.6771, allocations: 17.36 MB / 0.8884 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.429/8.107, allocations: 5.297 kB / 0.8884 GB, free: 13.23 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: 11.215475399978459] Failed to read output from testmodel.py, exit status != 0: 8.193143670912832 8.20169248 7.584608591 Calling exit ...