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.0009649/0.0009649, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.00111/0.00111, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9161/0.9161, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.721/0.721, allocations: 154.6 MB / 413.7 MB, free: 0.8164 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.863e-05/2.041e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.01645/0.01647, allocations: 21.46 MB / 0.639 GB, free: 8.133 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.006124/0.02259, allocations: 4.765 MB / 0.6437 GB, free: 3.352 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007811/0.02337, allocations: 35.69 kB / 0.6437 GB, free: 3.316 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000723/0.0241, allocations: 285.9 kB / 0.644 GB, free: 3.035 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001744/0.02584, allocations: 0.8507 MB / 0.6448 GB, free: 2.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.02742, allocations: 0.8354 MB / 0.6456 GB, free: 1.352 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002134/0.02955, allocations: 1.652 MB / 0.6472 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006594/0.03021, allocations: 390 kB / 0.6476 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001743/0.03196, allocations: 0.9319 MB / 0.6485 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005913/0.03255, allocations: 394.8 kB / 0.6489 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.166e-05/0.03262, allocations: 52 kB / 0.649 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008553/0.03347, allocations: 418.9 kB / 0.6494 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.03361, allocations: 155.4 kB / 0.6495 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001866/0.0338, allocations: 211.5 kB / 0.6497 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.03498, allocations: 0.9581 MB / 0.6506 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.03499, allocations: 0 / 0.6506 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.734e-06/0.03499, allocations: 0 / 0.6506 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.035, allocations: 0 / 0.6506 GB, free: 12.21 MB / 0.6198 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.001162/0.03616, allocations: 0.8314 MB / 0.6514 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.03621, allocations: 9.469 kB / 0.6515 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.475e-05/0.03628, allocations: 74.72 kB / 0.6515 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002116/0.0365, allocations: 76.5 kB / 0.6516 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008449/0.03734, allocations: 0.5069 MB / 0.6521 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.03737, allocations: 37.38 kB / 0.6521 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.614e-05/0.03743, allocations: 48.08 kB / 0.6522 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000572/0.03801, allocations: 0.4979 MB / 0.6527 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.03802, allocations: 0 / 0.6527 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.212e-05/0.03806, allocations: 19.94 kB / 0.6527 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.828e-05/0.03808, allocations: 15.98 kB / 0.6527 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003755/0.03846, allocations: 299.7 kB / 0.653 GB, free: 9.703 MB / 0.6198 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.00176/0.04022, allocations: 1.525 MB / 0.6545 GB, free: 8.121 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003994/0.04062, allocations: 234.8 kB / 0.6547 GB, free: 7.883 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.04074, allocations: 116.7 kB / 0.6548 GB, free: 7.766 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002696/0.04101, allocations: 107.9 kB / 0.6549 GB, free: 7.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.04104, allocations: 38.56 kB / 0.6549 GB, free: 7.613 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 3.056e-06/0.04104, allocations: 0 / 0.6549 GB, free: 7.613 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26): time 0.0005721/0.04161, allocations: 376 kB / 0.6553 GB, free: 7.242 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.04165, allocations: 51.41 kB / 0.6554 GB, free: 7.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004716/0.04212, allocations: 485.9 kB / 0.6558 GB, free: 6.695 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.04216, allocations: 33.7 kB / 0.6559 GB, free: 6.656 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.04234, allocations: 268.4 kB / 0.6561 GB, free: 6.391 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.091e-05/0.0424, allocations: 95.17 kB / 0.6562 GB, free: 6.297 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-05/0.04249, allocations: 74.02 kB / 0.6563 GB, free: 6.219 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.04261, allocations: 350.8 kB / 0.6566 GB, free: 5.867 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.04275, allocations: 104.5 kB / 0.6567 GB, free: 5.766 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.04294, allocations: 250.1 kB / 0.6569 GB, free: 5.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.04323, allocations: 279.7 kB / 0.6572 GB, free: 5.184 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.04323, allocations: 0 / 0.6572 GB, free: 5.184 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003989/0.04363, allocations: 369 kB / 0.6576 GB, free: 4.816 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.04365, allocations: 11.98 kB / 0.6576 GB, free: 4.805 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.04365, allocations: 0 / 0.6576 GB, free: 4.805 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.04367, allocations: 4 kB / 0.6576 GB, free: 4.801 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.04385, allocations: 76.12 kB / 0.6576 GB, free: 4.727 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.04386, allocations: 4 kB / 0.6577 GB, free: 4.723 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.04403, allocations: 47.59 kB / 0.6577 GB, free: 4.676 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.04405, allocations: 16 kB / 0.6577 GB, free: 4.66 MB / 0.6198 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.0001473/0.0442, allocations: 173.8 kB / 0.6579 GB, free: 4.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.945e-05/0.04426, allocations: 51.67 kB / 0.6579 GB, free: 4.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005482/0.04481, allocations: 490.7 kB / 0.6584 GB, free: 3.949 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.04482, allocations: 7.938 kB / 0.6584 GB, free: 3.941 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.04482, allocations: 0 / 0.6584 GB, free: 3.941 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003963/0.04522, allocations: 0.5762 MB / 0.659 GB, free: 3.297 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.04643, allocations: 1.002 MB / 0.6599 GB, free: 2.227 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.04643, allocations: 7.969 kB / 0.66 GB, free: 2.219 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.04657, allocations: 55.91 kB / 0.66 GB, free: 2.164 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.04657, allocations: 4 kB / 0.66 GB, free: 2.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.04659, allocations: 8 kB / 0.66 GB, free: 2.152 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.0466, allocations: 7.984 kB / 0.66 GB, free: 2.145 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.0466, allocations: 3.984 kB / 0.66 GB, free: 2.141 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005963/0.0472, allocations: 0.6805 MB / 0.6607 GB, free: 1.426 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.04734, allocations: 107.5 kB / 0.6608 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.04737, allocations: 8 kB / 0.6608 GB, free: 1.312 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.04751, allocations: 12 kB / 0.6608 GB, free: 1.301 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.094e-05/0.04755, allocations: 27.95 kB / 0.6608 GB, free: 1.273 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.04757, allocations: 11.98 kB / 0.6609 GB, free: 1.262 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002677/0.04783, allocations: 346.9 kB / 0.6612 GB, free: 0.9258 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.51e-07/0.04783, allocations: 0 / 0.6612 GB, free: 0.9258 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005053/0.04834, allocations: 203.5 kB / 0.6614 GB, free: 0.7266 MB / 0.6198 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.001147/0.04949, allocations: 1.4 MB / 0.6627 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000365/0.04985, allocations: 287.7 kB / 0.663 GB, free: 15 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.04985, allocations: 4 kB / 0.663 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.05, allocations: 143.8 kB / 0.6632 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008658/0.05087, allocations: 334.7 kB / 0.6635 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003854/0.05472, allocations: 4.17 MB / 0.6676 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/0.05492, allocations: 266.5 kB / 0.6678 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003415/0.05526, allocations: 116.7 kB / 0.6679 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.05545, allocations: 200.4 kB / 0.6681 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of SimCode: time 1.242e-06/0.05546, allocations: 0 / 0.6681 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2956/0.351, allocations: 18.86 MB / 0.6865 GB, free: 94.83 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.05/7.401, allocations: 4.859 kB / 0.6865 GB, free: 94.83 MB / 0.6355 GB " [Timeout remaining time 653] (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.15532527025789] Failed to read output from testmodel.py, exit status != 0: 7.490064713172615 7.498471204 7.461798741 Calling exit ...