Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001351/0.001351, allocations: 72.45 kB / 19.02 MB, free: 1.117 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.001466/0.001466, allocations: 163.8 kB / 22.29 MB, free: 3.52 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 1.414/1.414, allocations: 177.2 MB / 202.7 MB, free: 4.805 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.235/1.235, allocations: 154.7 MB / 413.8 MB, free: 3.141 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.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.HeatMeter,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="IDEAS_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.00205/0.00205, allocations: 62.53 kB / 0.6181 GB, free: 1.082 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.229, allocations: 102 MB / 0.7177 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.02834/0.2573, allocations: 21.52 MB / 0.7387 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.008297/0.2656, allocations: 4.754 MB / 0.7433 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007727/0.2664, allocations: 39.69 kB / 0.7434 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008689/0.2673, allocations: 282 kB / 0.7436 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002276/0.2695, allocations: 0.832 MB / 0.7445 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.00207/0.2716, allocations: 0.8226 MB / 0.7453 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.00223/0.2738, allocations: 1.605 MB / 0.7468 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007679/0.2746, allocations: 386.1 kB / 0.7472 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002233/0.2768, allocations: 0.9525 MB / 0.7481 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007364/0.2776, allocations: 442 kB / 0.7485 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 8.966e-05/0.2777, allocations: 48 kB / 0.7486 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.2788, allocations: 411.2 kB / 0.749 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001938/0.279, allocations: 143.4 kB / 0.7491 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0003301/0.2793, allocations: 262.8 kB / 0.7494 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.2809, allocations: 0.9381 MB / 0.7503 GB, free: 9.688 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2809, allocations: 0 / 0.7503 GB, free: 9.688 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2809, allocations: 0 / 0.7503 GB, free: 9.688 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.2809, allocations: 0 / 0.7503 GB, free: 9.688 MB / 0.6511 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.00162/0.2825, allocations: 0.8353 MB / 0.7511 GB, free: 8.82 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/0.2826, allocations: 12.03 kB / 0.7511 GB, free: 8.809 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001143/0.2827, allocations: 78.66 kB / 0.7512 GB, free: 8.723 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002487/0.2829, allocations: 72.56 kB / 0.7513 GB, free: 8.652 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.2841, allocations: 0.5073 MB / 0.7518 GB, free: 8.121 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.196e-05/0.2842, allocations: 32.94 kB / 0.7518 GB, free: 8.09 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.879e-05/0.2842, allocations: 40 kB / 0.7518 GB, free: 8.051 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008232/0.2851, allocations: 0.5018 MB / 0.7523 GB, free: 7.508 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.2851, allocations: 4 kB / 0.7523 GB, free: 7.504 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.707e-05/0.2851, allocations: 16 kB / 0.7523 GB, free: 7.488 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-05/0.2852, allocations: 8 kB / 0.7523 GB, free: 7.48 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005484/0.2857, allocations: 311.6 kB / 0.7526 GB, free: 7.18 MB / 0.6511 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.002798/0.2885, allocations: 1.513 MB / 0.7541 GB, free: 5.602 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000576/0.2891, allocations: 251.5 kB / 0.7544 GB, free: 5.352 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.2893, allocations: 112.8 kB / 0.7545 GB, free: 5.238 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005164/0.2898, allocations: 107.9 kB / 0.7546 GB, free: 5.133 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/0.2898, allocations: 38.56 kB / 0.7546 GB, free: 5.086 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.2898, allocations: 0 / 0.7546 GB, free: 5.086 MB / 0.6511 GB Notification: Performance of matching and sorting (n=26): time 0.0007719/0.2906, allocations: 373 kB / 0.755 GB, free: 4.715 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.2907, allocations: 55.41 kB / 0.755 GB, free: 4.648 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006082/0.2913, allocations: 489.9 kB / 0.7555 GB, free: 4.16 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.803e-05/0.2913, allocations: 29.7 kB / 0.7555 GB, free: 4.125 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/0.2916, allocations: 264.3 kB / 0.7558 GB, free: 3.863 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.425e-05/0.2917, allocations: 95.22 kB / 0.7559 GB, free: 3.77 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.2918, allocations: 73.97 kB / 0.7559 GB, free: 3.691 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.292, allocations: 354.8 kB / 0.7563 GB, free: 3.336 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.2921, allocations: 100.6 kB / 0.7564 GB, free: 3.238 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003057/0.2925, allocations: 253.1 kB / 0.7566 GB, free: 2.949 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004565/0.2929, allocations: 278.7 kB / 0.7569 GB, free: 2.652 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2929, allocations: 0 / 0.7569 GB, free: 2.652 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006764/0.2936, allocations: 365.6 kB / 0.7572 GB, free: 2.289 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.2936, allocations: 11.98 kB / 0.7572 GB, free: 2.277 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.2936, allocations: 3.938 kB / 0.7572 GB, free: 2.273 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.2936, allocations: 7.938 kB / 0.7572 GB, free: 2.266 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/0.2939, allocations: 71.91 kB / 0.7573 GB, free: 2.195 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.2939, allocations: 4 kB / 0.7573 GB, free: 2.191 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002745/0.2942, allocations: 43.88 kB / 0.7573 GB, free: 2.148 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.945e-05/0.2943, allocations: 20 kB / 0.7574 GB, free: 2.129 MB / 0.6511 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.0002465/0.2945, allocations: 173.8 kB / 0.7575 GB, free: 1.949 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.2946, allocations: 51.67 kB / 0.7576 GB, free: 1.898 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009038/0.2955, allocations: 485.1 kB / 0.758 GB, free: 1.418 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/0.2955, allocations: 7.938 kB / 0.7581 GB, free: 1.41 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.2955, allocations: 0 / 0.7581 GB, free: 1.41 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006625/0.2962, allocations: 0.578 MB / 0.7586 GB, free: 0.7656 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4161/0.7123, allocations: 1.007 MB / 0.7596 GB, free: 43.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.7123, allocations: 1.875 kB / 0.7596 GB, free: 43.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002896/0.7126, allocations: 53.27 kB / 0.7597 GB, free: 43.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.7126, allocations: 3.562 kB / 0.7597 GB, free: 43.52 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/0.7126, allocations: 9.516 kB / 0.7597 GB, free: 43.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.7126, allocations: 4.844 kB / 0.7597 GB, free: 43.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.7126, allocations: 4 kB / 0.7597 GB, free: 43.52 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000974/0.7136, allocations: 0.6814 MB / 0.7603 GB, free: 43.33 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000248/0.7139, allocations: 99.81 kB / 0.7604 GB, free: 43.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.308e-05/0.7139, allocations: 13.69 kB / 0.7604 GB, free: 43.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002776/0.7142, allocations: 12.06 kB / 0.7605 GB, free: 43.33 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/0.7143, allocations: 21 kB / 0.7605 GB, free: 43.33 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.713e-05/0.7143, allocations: 18.48 kB / 0.7605 GB, free: 43.33 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00046/0.7148, allocations: 348.9 kB / 0.7608 GB, free: 43.24 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6e-08/0.7148, allocations: 0 / 0.7608 GB, free: 43.24 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007091/0.7155, allocations: 204.8 kB / 0.761 GB, free: 43.24 MB / 0.6511 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.001468/0.7169, allocations: 1.395 MB / 0.7624 GB, free: 42.34 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005552/0.7175, allocations: 282.2 kB / 0.7627 GB, free: 42.25 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.7175, allocations: 0.5156 kB / 0.7627 GB, free: 42.25 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002563/0.7177, allocations: 154.6 kB / 0.7628 GB, free: 42.21 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/0.7194, allocations: 333.9 kB / 0.7631 GB, free: 42.15 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005966/0.7253, allocations: 4.225 MB / 0.7672 GB, free: 39.73 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.7257, allocations: 264.5 kB / 0.7675 GB, free: 39.63 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006124/0.7263, allocations: 126.4 kB / 0.7676 GB, free: 39.6 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002899/0.7266, allocations: 194.4 kB / 0.7678 GB, free: 39.46 MB / 0.6511 GB Notification: Performance of SimCode: time 1.222e-06/0.7266, allocations: 0.5469 kB / 0.7678 GB, free: 39.46 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06197/0.7886, allocations: 18.91 MB / 0.7863 GB, free: 34.48 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.59, allocations: 13.27 kB / 0.7863 GB, free: 34.46 MB / 0.6511 GB " [Timeout remaining time 647] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_HeatMeter_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_HeatMeter.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.708170362995588] Failed to read output from testmodel.py, exit status != 0: 12.708661561002373 12.723985899 12.440442815 Calling exit ...