Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001325/0.001325, allocations: 101.9 kB / 20.48 MB, free: 1.383 MB / 14.72 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.001462/0.001462, allocations: 214.2 kB / 23.78 MB, free: 4.555 MB / 14.72 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.411/1.411, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9424/0.9424, allocations: 150 MB / 463.9 MB, free: 10.23 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_HeatMeter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_HeatMeter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001923/0.001923, allocations: 68.41 kB / 0.642 GB, free: 9.922 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1702, allocations: 89.17 MB / 0.729 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.HeatMeter): time 0.0256/0.1958, allocations: 21.59 MB / 0.7501 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008139/0.2039, allocations: 4.747 MB / 0.7548 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008434/0.2048, allocations: 43.62 kB / 0.7548 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000859/0.2056, allocations: 270.1 kB / 0.7551 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002214/0.2078, allocations: 0.8397 MB / 0.7559 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002009/0.2098, allocations: 0.7819 MB / 0.7566 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002218/0.2121, allocations: 1.648 MB / 0.7583 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006626/0.2127, allocations: 394.2 kB / 0.7586 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001854/0.2146, allocations: 0.7465 MB / 0.7594 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006977/0.2153, allocations: 466 kB / 0.7598 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.681e-05/0.2154, allocations: 52 kB / 0.7599 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.2164, allocations: 423.2 kB / 0.7603 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001973/0.2166, allocations: 147.4 kB / 0.7604 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003393/0.2169, allocations: 258.8 kB / 0.7606 GB, free: 356 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3424/0.5593, allocations: 0.9284 MB / 0.7616 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.5593, allocations: 0 / 0.7616 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.003e-06/0.5593, allocations: 0 / 0.7616 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.443e-05/0.5593, allocations: 0 / 0.7616 GB, free: 10.59 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.001344/0.5607, allocations: 0.8279 MB / 0.7624 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.5607, allocations: 10.03 kB / 0.7624 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.622e-05/0.5607, allocations: 12.34 kB / 0.7624 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.623e-05/0.5608, allocations: 81.59 kB / 0.7625 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002196/0.561, allocations: 72.02 kB / 0.7625 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000915/0.562, allocations: 0.5069 MB / 0.763 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.209e-05/0.562, allocations: 30.69 kB / 0.7631 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.669e-05/0.5621, allocations: 47.62 kB / 0.7631 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006854/0.5627, allocations: 0.4999 MB / 0.7636 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.5628, allocations: 2.469 kB / 0.7636 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.124e-05/0.5628, allocations: 15.94 kB / 0.7636 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/0.5628, allocations: 11.56 kB / 0.7636 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004602/0.5633, allocations: 302.8 kB / 0.7639 GB, free: 9.656 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.002366/0.5656, allocations: 1.515 MB / 0.7654 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000499/0.5661, allocations: 243.6 kB / 0.7656 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.5663, allocations: 113 kB / 0.7657 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004927/0.5668, allocations: 105.9 kB / 0.7658 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.5668, allocations: 35.48 kB / 0.7659 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=26): time 2.154e-06/0.5668, allocations: 5.312 kB / 0.7659 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of matching and sorting (n=26): time 0.0006609/0.5675, allocations: 375.5 kB / 0.7662 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/0.5675, allocations: 57.41 kB / 0.7663 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005182/0.568, allocations: 485.4 kB / 0.7667 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.5681, allocations: 31.95 kB / 0.7668 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.5682, allocations: 262.5 kB / 0.767 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.478e-05/0.5683, allocations: 98.3 kB / 0.7671 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.5684, allocations: 77.27 kB / 0.7672 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.453e-05/0.5685, allocations: 355.4 kB / 0.7675 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.5686, allocations: 98.12 kB / 0.7676 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.5689, allocations: 243.8 kB / 0.7679 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003317/0.5692, allocations: 281.5 kB / 0.7681 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.5692, allocations: 1.594 kB / 0.7681 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005241/0.5697, allocations: 369 kB / 0.7685 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.5697, allocations: 5.094 kB / 0.7685 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.5697, allocations: 1.875 kB / 0.7685 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.5698, allocations: 9.625 kB / 0.7685 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.57, allocations: 73.56 kB / 0.7686 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.57, allocations: 7.359 kB / 0.7686 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002522/0.5703, allocations: 34.05 kB / 0.7686 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/0.5703, allocations: 21.05 kB / 0.7686 GB, free: 7.824 MB / 0.5762 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.0001706/0.5705, allocations: 183.8 kB / 0.7688 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.513e-05/0.5706, allocations: 54.69 kB / 0.7688 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007946/0.5714, allocations: 480.4 kB / 0.7693 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/0.5714, allocations: 8.484 kB / 0.7693 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5714, allocations: 0 / 0.7693 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004723/0.5719, allocations: 0.5751 MB / 0.7699 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/0.5735, allocations: 1.008 MB / 0.7709 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.5735, allocations: 2.266 kB / 0.7709 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.5738, allocations: 55.33 kB / 0.7709 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.5738, allocations: 3.031 kB / 0.7709 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/0.5738, allocations: 14.06 kB / 0.7709 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.5738, allocations: 3.328 kB / 0.7709 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5738, allocations: 1.844 kB / 0.7709 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009476/0.5748, allocations: 0.6816 MB / 0.7716 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002004/0.575, allocations: 103.1 kB / 0.7717 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.347e-05/0.575, allocations: 11.16 kB / 0.7717 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002709/0.5753, allocations: 9.922 kB / 0.7717 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.5753, allocations: 31.19 kB / 0.7718 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-05/0.5754, allocations: 16.7 kB / 0.7718 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004135/0.5758, allocations: 350.4 kB / 0.7721 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.5758, allocations: 0 / 0.7721 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006917/0.5765, allocations: 200.4 kB / 0.7723 GB, free: 6.574 MB / 0.5762 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.001438/0.5779, allocations: 1.393 MB / 0.7737 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005798/0.5785, allocations: 296.6 kB / 0.7739 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.5785, allocations: 0.9375 kB / 0.7739 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000253/0.5788, allocations: 156.3 kB / 0.7741 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/0.5804, allocations: 339 kB / 0.7744 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00555/0.5859, allocations: 4.23 MB / 0.7785 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.5862, allocations: 263.4 kB / 0.7788 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005393/0.5868, allocations: 119.4 kB / 0.7789 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002684/0.587, allocations: 192.8 kB / 0.7791 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of SimCode: time 9.32e-07/0.5871, allocations: 0 / 0.7791 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05136/0.6384, allocations: 18.45 MB / 0.7971 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.71, allocations: 9.094 kB / 0.7971 GB, free: 15.68 MB / 0.5919 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_HeatMeter_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_HeatMeter.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.466414965922013] Failed to read output from testmodel.py, exit status != 0: 12.88319224503357 12.908255931 12.344070652 Calling exit ...