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.001735/0.001735, allocations: 117.8 kB / 19.69 MB, free: 2.199 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.002074/0.002074, allocations: 227.1 kB / 23.01 MB, free: 5.043 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.387/1.387, allocations: 230.6 MB / 256.8 MB, free: 7.949 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.9077/0.9077, allocations: 150 MB / 463.2 MB, free: 10.47 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_HeatMeter",fmuType="me",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.001998/0.001998, allocations: 62.31 kB / 0.6413 GB, free: 10.33 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1753, allocations: 89.17 MB / 0.7284 GB, free: 1.219 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.HeatMeter): time 0.02975/0.205, allocations: 23.78 MB / 0.7516 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00825/0.2132, allocations: 5.124 MB / 0.7566 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009546/0.2142, allocations: 43.62 kB / 0.7566 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.2152, allocations: 286 kB / 0.7569 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002437/0.2177, allocations: 0.8396 MB / 0.7577 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002228/0.2199, allocations: 0.8034 MB / 0.7585 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002716/0.2226, allocations: 1.652 MB / 0.7601 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008942/0.2235, allocations: 398.1 kB / 0.7605 GB, free: 196 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3623/0.5858, allocations: 0.7245 MB / 0.7612 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006881/0.5865, allocations: 470.8 kB / 0.7617 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.578e-05/0.5866, allocations: 44.47 kB / 0.7617 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.5876, allocations: 0.5278 MB / 0.7622 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.5877, allocations: 141.2 kB / 0.7624 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002742/0.588, allocations: 314.6 kB / 0.7627 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.5892, allocations: 0.9471 MB / 0.7636 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.5892, allocations: 0.8438 kB / 0.7636 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5892, allocations: 1.781 kB / 0.7636 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.5892, allocations: 1.375 kB / 0.7636 GB, free: 8.402 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.001138/0.5904, allocations: 0.8348 MB / 0.7644 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.5904, allocations: 11.34 kB / 0.7644 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.692e-05/0.5905, allocations: 80.95 kB / 0.7645 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001886/0.5907, allocations: 71.22 kB / 0.7646 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009014/0.5916, allocations: 0.5115 MB / 0.7651 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.5916, allocations: 26.75 kB / 0.7651 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.075e-05/0.5916, allocations: 45.84 kB / 0.7651 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006142/0.5923, allocations: 439.7 kB / 0.7655 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.5923, allocations: 3.406 kB / 0.7655 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.412e-05/0.5923, allocations: 11.97 kB / 0.7656 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.5923, allocations: 13.95 kB / 0.7656 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004469/0.5928, allocations: 308.2 kB / 0.7659 GB, free: 7.555 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.002261/0.595, allocations: 1.765 MB / 0.7676 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004459/0.5955, allocations: 249.8 kB / 0.7678 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.5956, allocations: 114.7 kB / 0.7679 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004609/0.5961, allocations: 109.7 kB / 0.768 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.5961, allocations: 34.33 kB / 0.7681 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=26): time 1.553e-06/0.5961, allocations: 5.312 kB / 0.7681 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of matching and sorting (n=26): time 0.0006101/0.5967, allocations: 379 kB / 0.7684 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.5968, allocations: 53.12 kB / 0.7685 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004691/0.5972, allocations: 486.3 kB / 0.769 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.5973, allocations: 30.02 kB / 0.769 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.5974, allocations: 265.8 kB / 0.7692 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.995e-05/0.5975, allocations: 97.7 kB / 0.7693 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.5976, allocations: 74.45 kB / 0.7694 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.744e-05/0.5976, allocations: 354.2 kB / 0.7697 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.5978, allocations: 102.2 kB / 0.7698 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.598, allocations: 168.7 kB / 0.77 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/0.5983, allocations: 278.9 kB / 0.7703 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5983, allocations: 0 / 0.7703 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005554/0.5989, allocations: 366 kB / 0.7706 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.5989, allocations: 11.09 kB / 0.7706 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.5989, allocations: 1.594 kB / 0.7706 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.5989, allocations: 11.25 kB / 0.7706 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/0.5992, allocations: 75.89 kB / 0.7707 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.5992, allocations: 5.047 kB / 0.7707 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.5994, allocations: 38.75 kB / 0.7707 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.5995, allocations: 12.84 kB / 0.7708 GB, free: 5.621 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.0001685/0.5996, allocations: 183.3 kB / 0.7709 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.328e-05/0.5997, allocations: 56.47 kB / 0.771 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007713/0.6005, allocations: 473.8 kB / 0.7714 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.6005, allocations: 12.81 kB / 0.7715 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6005, allocations: 0 / 0.7715 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005036/0.601, allocations: 0.5759 MB / 0.772 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.6027, allocations: 1.064 MB / 0.7731 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.6027, allocations: 1.75 kB / 0.7731 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002237/0.6029, allocations: 53.59 kB / 0.7731 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.6029, allocations: 3.25 kB / 0.7731 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.603, allocations: 9.906 kB / 0.7731 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.603, allocations: 7.469 kB / 0.7731 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.603, allocations: 2.25 kB / 0.7731 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008544/0.6038, allocations: 0.6847 MB / 0.7738 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/0.604, allocations: 106.2 kB / 0.7739 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.733e-05/0.6041, allocations: 8.281 kB / 0.7739 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.6043, allocations: 14.47 kB / 0.7739 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.6044, allocations: 29.3 kB / 0.7739 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/0.6044, allocations: 16.48 kB / 0.774 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000423/0.6048, allocations: 347.6 kB / 0.7743 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.6048, allocations: 0 / 0.7743 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007217/0.6056, allocations: 196.8 kB / 0.7745 GB, free: 4.355 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.001457/0.607, allocations: 1.395 MB / 0.7758 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005708/0.6076, allocations: 295.4 kB / 0.7761 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6076, allocations: 1.125 kB / 0.7761 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002453/0.6078, allocations: 152 kB / 0.7763 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/0.6094, allocations: 341.1 kB / 0.7766 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005721/0.6151, allocations: 4.213 MB / 0.7807 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00051/0.6156, allocations: 0.8661 MB / 0.7816 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005269/0.6161, allocations: 122.6 kB / 0.7817 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002337/0.6164, allocations: 193.3 kB / 0.7819 GB, free: 16.94 MB / 0.5919 GB Notification: Performance of SimCode: time 9.62e-07/0.6164, allocations: 0 / 0.7819 GB, free: 16.94 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05892/0.6753, allocations: 17.38 MB / 0.7988 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.46, allocations: 14.34 kB / 0.7988 GB, free: 12.77 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.097654031822458] Failed to read output from testmodel.py, exit status != 0: 12.5765735830646 12.598349836 12.005013789 Calling exit ...