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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 111.2 kB / 16.41 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.024/1.024, allocations: 173.4 MB / 470.7 MB, free: 13.57 MB / 382.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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001823/0.001823, allocations: 71.38 kB / 0.6478 GB, free: 11.74 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1692, allocations: 89.52 MB / 0.7353 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.351/0.5202, allocations: 23.24 MB / 0.758 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006574/0.5268, allocations: 5.095 MB / 0.7629 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007503/0.5276, allocations: 32.66 kB / 0.763 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000757/0.5284, allocations: 280.2 kB / 0.7632 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00195/0.5304, allocations: 0.7941 MB / 0.764 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00192/0.5323, allocations: 0.7545 MB / 0.7648 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001983/0.5343, allocations: 1.611 MB / 0.7663 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006522/0.5349, allocations: 489.3 kB / 0.7668 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002427/0.5374, allocations: 0.7111 MB / 0.7675 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008831/0.5383, allocations: 444.4 kB / 0.7679 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.6e-05/0.5384, allocations: 47.25 kB / 0.768 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.54, allocations: 483.3 kB / 0.7684 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000209/0.5402, allocations: 141.6 kB / 0.7686 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003966/0.5406, allocations: 310.8 kB / 0.7689 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001606/0.5422, allocations: 0.9303 MB / 0.7698 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.5422, allocations: 0 / 0.7698 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5422, allocations: 3.938 kB / 0.7698 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.5422, allocations: 0 / 0.7698 GB, free: 2.656 MB / 0.5762 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.001188/0.5434, allocations: 0.904 MB / 0.7706 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.5435, allocations: 10.72 kB / 0.7707 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.895e-05/0.5436, allocations: 77.58 kB / 0.7707 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001979/0.5438, allocations: 68.41 kB / 0.7708 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008268/0.5446, allocations: 0.5874 MB / 0.7714 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.5446, allocations: 31.81 kB / 0.7714 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.466e-05/0.5447, allocations: 38.22 kB / 0.7714 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005907/0.5453, allocations: 433 kB / 0.7718 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.5453, allocations: 5.094 kB / 0.7719 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.708e-05/0.5454, allocations: 16.84 kB / 0.7719 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.857e-05/0.5454, allocations: 11 kB / 0.7719 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004528/0.5458, allocations: 302.2 kB / 0.7722 GB, free: 1.594 MB / 0.5762 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.0023/0.5481, allocations: 1.923 MB / 0.774 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005002/0.5487, allocations: 252.6 kB / 0.7743 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.5489, allocations: 127.2 kB / 0.7744 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007799/0.5496, allocations: 0.8531 MB / 0.7752 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.5497, allocations: 42.84 kB / 0.7753 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=26): time 2.014e-06/0.5497, allocations: 0 / 0.7753 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=26): time 0.0006822/0.5504, allocations: 368.4 kB / 0.7756 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.5504, allocations: 54.41 kB / 0.7757 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005205/0.551, allocations: 483.5 kB / 0.7761 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.551, allocations: 30.95 kB / 0.7762 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/0.5512, allocations: 271 kB / 0.7764 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.348e-05/0.5513, allocations: 97.11 kB / 0.7765 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.5514, allocations: 67.2 kB / 0.7766 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.5516, allocations: 357.3 kB / 0.7769 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.5518, allocations: 97.73 kB / 0.777 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.552, allocations: 176.2 kB / 0.7772 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00041/0.5524, allocations: 273.9 kB / 0.7775 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.5525, allocations: 3.938 kB / 0.7775 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005942/0.5531, allocations: 368.9 kB / 0.7778 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.5531, allocations: 8.047 kB / 0.7778 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.5531, allocations: 5.875 kB / 0.7778 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.5531, allocations: 4.469 kB / 0.7778 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002808/0.5534, allocations: 76.2 kB / 0.7779 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.5534, allocations: 12.11 kB / 0.7779 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002826/0.5537, allocations: 40.28 kB / 0.778 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.169e-05/0.5538, allocations: 18.22 kB / 0.778 GB, free: 14.47 MB / 0.5919 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.0002089/0.554, allocations: 177.1 kB / 0.7781 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.5541, allocations: 51.83 kB / 0.7782 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008672/0.555, allocations: 480.4 kB / 0.7786 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-05/0.555, allocations: 6.141 kB / 0.7787 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.555, allocations: 0 / 0.7787 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006652/0.5557, allocations: 0.5692 MB / 0.7792 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001838/0.5575, allocations: 1.151 MB / 0.7803 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.5576, allocations: 6.125 kB / 0.7803 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.5578, allocations: 49.31 kB / 0.7804 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.5578, allocations: 3.156 kB / 0.7804 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.5578, allocations: 14.86 kB / 0.7804 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.914e-06/0.5578, allocations: 7.391 kB / 0.7804 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.5578, allocations: 2.125 kB / 0.7804 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000953/0.5588, allocations: 0.6651 MB / 0.7811 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002305/0.559, allocations: 179.4 kB / 0.7812 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.313e-05/0.5591, allocations: 12.89 kB / 0.7812 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.5594, allocations: 10.98 kB / 0.7813 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/0.5595, allocations: 28.2 kB / 0.7813 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.5595, allocations: 17.91 kB / 0.7813 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004834/0.56, allocations: 349.1 kB / 0.7816 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.6e-07/0.56, allocations: 0 / 0.7816 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007866/0.5608, allocations: 200.6 kB / 0.7818 GB, free: 12.93 MB / 0.5919 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.002035/0.5628, allocations: 1.401 MB / 0.7832 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005958/0.5634, allocations: 293.5 kB / 0.7835 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5634, allocations: 1.094 kB / 0.7835 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002382/0.5637, allocations: 166.2 kB / 0.7836 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/0.5652, allocations: 345.8 kB / 0.784 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005609/0.5709, allocations: 4.211 MB / 0.7881 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005508/0.5714, allocations: 0.8653 MB / 0.7889 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004929/0.5719, allocations: 119.4 kB / 0.789 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/0.5722, allocations: 194.4 kB / 0.7892 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of SimCode: time 8.82e-07/0.5722, allocations: 0 / 0.7892 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04669/0.6189, allocations: 16.98 MB / 0.8058 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.712/9.331, allocations: 9.172 kB / 0.8058 GB, free: 3.07 MB / 0.5919 GB " [Timeout remaining time 651] (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: 12.952469516079873] Failed to read output from testmodel.py, exit status != 0: 9.406674810219556 9.426485932 8.880422943 Calling exit ...