Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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.001952/0.001952, allocations: 106.2 kB / 16.4 MB, free: 6.488 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.002085/0.002085, allocations: 192.6 kB / 19.36 MB, free: 3.75 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.606/1.606, 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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.873/2.873, allocations: 469.8 MB / 0.749 GB, free: 2.984 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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(Buildings.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002267, allocations: 63.89 kB / 1.073 GB, free: 72 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8962/0.8985, allocations: 159.1 MB / 1.229 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.04309/0.9417, allocations: 23.24 MB / 1.251 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01228/0.954, allocations: 5.104 MB / 1.256 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001269/0.9553, allocations: 31.81 kB / 1.256 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001423/0.9568, allocations: 274.1 kB / 1.257 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003375/0.9602, allocations: 0.785 MB / 1.257 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002948/0.9632, allocations: 0.7704 MB / 1.258 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003456/0.9667, allocations: 1.613 MB / 1.26 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001307/0.968, allocations: 477.6 kB / 1.26 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002554/0.9706, allocations: 0.6123 MB / 1.261 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/0.9719, allocations: 454 kB / 1.261 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002284/0.9721, allocations: 48 kB / 1.261 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001975/0.9741, allocations: 491.1 kB / 1.262 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003196/0.9745, allocations: 139.5 kB / 1.262 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007764/0.9752, allocations: 310.5 kB / 1.262 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002606/0.9779, allocations: 0.9208 MB / 1.263 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.9779, allocations: 3.938 kB / 1.263 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9779, allocations: 4 kB / 1.263 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.113e-05/0.978, allocations: 0 / 1.263 GB, free: 1.582 MB / 0.9669 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.002768/0.9807, allocations: 0.9029 MB / 1.264 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.9808, allocations: 12.03 kB / 1.264 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001763/0.981, allocations: 78.7 kB / 1.264 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004025/0.9814, allocations: 68.56 kB / 1.264 GB, free: 472 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001726/0.9832, allocations: 0.5768 MB / 1.265 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.394e-05/0.9832, allocations: 33 kB / 1.265 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.9834, allocations: 44 kB / 1.265 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.9847, allocations: 432.7 kB / 1.265 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.685e-05/0.9847, allocations: 7.953 kB / 1.265 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001518/0.9849, allocations: 16 kB / 1.265 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.438e-05/0.9849, allocations: 8 kB / 1.265 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008243/0.9858, allocations: 307.8 kB / 1.265 GB, free: 15 MB / 0.9825 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.004199/0.99, allocations: 1.912 MB / 1.267 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007605/0.9908, allocations: 262.8 kB / 1.268 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/0.9911, allocations: 124.8 kB / 1.268 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00127/0.9923, allocations: 0.8466 MB / 1.269 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.9924, allocations: 34.56 kB / 1.269 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=26): time 3.176e-06/0.9924, allocations: 4 kB / 1.269 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26): time 0.001062/0.9935, allocations: 371.1 kB / 1.269 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/0.9936, allocations: 55.41 kB / 1.269 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009419/0.9945, allocations: 486 kB / 1.269 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.362e-05/0.9946, allocations: 29.7 kB / 1.269 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003066/0.9949, allocations: 268.5 kB / 1.27 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.995, allocations: 95.17 kB / 1.27 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/0.9952, allocations: 77.91 kB / 1.27 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002363/0.9955, allocations: 358.8 kB / 1.27 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000308/0.9958, allocations: 100.6 kB / 1.27 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004335/0.9962, allocations: 164 kB / 1.27 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000685/0.9969, allocations: 290.6 kB / 1.271 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.9969, allocations: 4 kB / 1.271 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009243/0.9979, allocations: 361.1 kB / 1.271 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.9979, allocations: 4 kB / 1.271 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.9979, allocations: 4 kB / 1.271 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/0.9979, allocations: 7.938 kB / 1.271 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004038/0.9984, allocations: 79.78 kB / 1.271 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/0.9984, allocations: 4 kB / 1.271 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004369/0.9988, allocations: 39.72 kB / 1.271 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.027e-05/0.9989, allocations: 16 kB / 1.271 GB, free: 8.625 MB / 0.9825 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.0003487/0.9993, allocations: 182.2 kB / 1.271 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/0.9995, allocations: 55.67 kB / 1.271 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/1.001, allocations: 469.1 kB / 1.272 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.915e-05/1.001, allocations: 7.938 kB / 1.272 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.001, allocations: 4 kB / 1.272 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001011/1.002, allocations: 0.5623 MB / 1.272 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002814/1.005, allocations: 1.164 MB / 1.274 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/1.005, allocations: 0 / 1.274 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003407/1.005, allocations: 47.97 kB / 1.274 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/1.005, allocations: 11.88 kB / 1.274 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-05/1.005, allocations: 8 kB / 1.274 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-05/1.005, allocations: 7.984 kB / 1.274 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/1.005, allocations: 0 / 1.274 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/1.007, allocations: 0.6719 MB / 1.274 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003583/1.007, allocations: 180.7 kB / 1.275 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/1.007, allocations: 12 kB / 1.275 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004681/1.008, allocations: 15.98 kB / 1.275 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.951e-05/1.008, allocations: 27.91 kB / 1.275 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.649e-05/1.008, allocations: 15.98 kB / 1.275 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000733/1.009, allocations: 346.8 kB / 1.275 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/1.009, allocations: 0 / 1.275 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001021/1.01, allocations: 203.5 kB / 1.275 GB, free: 4.441 MB / 0.9825 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.002889/1.013, allocations: 1.392 MB / 1.276 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008245/1.013, allocations: 294.8 kB / 1.277 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.013, allocations: 0 / 1.277 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003745/1.014, allocations: 167.7 kB / 1.277 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001937/1.016, allocations: 341.8 kB / 1.277 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006667/1.022, allocations: 4.225 MB / 1.281 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007062/1.023, allocations: 0.8666 MB / 1.282 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005694/1.024, allocations: 120.6 kB / 1.282 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000368/1.024, allocations: 187.4 kB / 1.283 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of SimCode: time 1.222e-06/1.024, allocations: 0 / 1.283 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05643/1.081, allocations: 16.98 MB / 1.299 GB, free: 11.94 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.287/10.37, allocations: 21.61 kB / 1.299 GB, free: 11.92 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_HeatMeter_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_HeatMeter.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.701258569024503] Failed to read output from testmodel.py, exit status != 0: 10.45118629396893 10.474263123 9.492117133 Calling exit ...