Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001288/0.001288, allocations: 110.2 kB / 18.7 MB, free: 3.246 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.00505/0.00505, allocations: 193.7 kB / 21.96 MB, free: 5.555 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.385/1.385, allocations: 225.6 MB / 250.7 MB, free: 13.36 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002617/0.002617, allocations: 277.5 kB / 306.1 MB, free: 8.566 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.202/1.202, allocations: 180.9 MB / 0.5295 GB, free: 14.51 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter") translateModel(BuildingSystems.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002766/0.002766, allocations: 105.3 kB / 0.7301 GB, free: 39.22 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1446, allocations: 94.15 MB / 0.822 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.HeatMeter): time 0.02788/0.1725, allocations: 23.62 MB / 0.8451 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008192/0.1807, allocations: 5.123 MB / 0.8501 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007047/0.1814, allocations: 27.81 kB / 0.8501 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008167/0.1822, allocations: 286 kB / 0.8504 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002075/0.1843, allocations: 0.8318 MB / 0.8512 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.1862, allocations: 0.7731 MB / 0.852 GB, free: 3.855 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002078/0.1883, allocations: 1.624 MB / 0.8536 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005987/0.1889, allocations: 393.6 kB / 0.8539 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001428/0.1903, allocations: 0.6342 MB / 0.8546 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006425/0.1909, allocations: 478 kB / 0.855 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.422e-05/0.191, allocations: 44 kB / 0.855 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.1921, allocations: 0.499 MB / 0.8555 GB, free: 200 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.1922, allocations: 143.4 kB / 0.8557 GB, free: 56 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003423/0.1926, allocations: 314.6 kB / 0.856 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001385/0.194, allocations: 0.9224 MB / 0.8569 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.194, allocations: 0 / 0.8569 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.194, allocations: 0 / 0.8569 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.194, allocations: 4 kB / 0.8569 GB, free: 14.82 MB / 0.6075 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.001458/0.1954, allocations: 0.9107 MB / 0.8578 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1955, allocations: 8.031 kB / 0.8578 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000239/0.1957, allocations: 64.56 kB / 0.8578 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.1968, allocations: 0.5809 MB / 0.8584 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.374e-05/0.1968, allocations: 36.94 kB / 0.8584 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.239e-05/0.1969, allocations: 40 kB / 0.8585 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007368/0.1976, allocations: 436.7 kB / 0.8589 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.1976, allocations: 0 / 0.8589 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.317e-05/0.1977, allocations: 16 kB / 0.8589 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.274e-05/0.1977, allocations: 12 kB / 0.8589 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005278/0.1982, allocations: 307.8 kB / 0.8592 GB, free: 12.31 MB / 0.6075 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.002898/0.2011, allocations: 1.915 MB / 0.8611 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005403/0.2017, allocations: 246.8 kB / 0.8613 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.2019, allocations: 112.8 kB / 0.8614 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009473/0.2028, allocations: 0.8544 MB / 0.8623 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.2028, allocations: 34.56 kB / 0.8623 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=26): time 1.973e-06/0.2029, allocations: 4 kB / 0.8623 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26): time 0.0007781/0.2036, allocations: 372.9 kB / 0.8627 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.2037, allocations: 59.34 kB / 0.8627 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005979/0.2043, allocations: 474 kB / 0.8632 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.968e-05/0.2043, allocations: 33.7 kB / 0.8632 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/0.2045, allocations: 260.4 kB / 0.8634 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.888e-05/0.2046, allocations: 103.2 kB / 0.8635 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.2047, allocations: 69.97 kB / 0.8636 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001867/0.2049, allocations: 362.8 kB / 0.864 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.2051, allocations: 96.55 kB / 0.864 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002534/0.2054, allocations: 172 kB / 0.8642 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004257/0.2058, allocations: 283.8 kB / 0.8645 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.2058, allocations: 3.938 kB / 0.8645 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006177/0.2064, allocations: 361.2 kB / 0.8648 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.2064, allocations: 4 kB / 0.8648 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.2064, allocations: 4 kB / 0.8648 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.2064, allocations: 4 kB / 0.8648 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/0.2067, allocations: 71.91 kB / 0.8649 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.163e-05/0.2067, allocations: 15.86 kB / 0.8649 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002732/0.207, allocations: 43.56 kB / 0.865 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-05/0.2071, allocations: 16.22 kB / 0.865 GB, free: 5.965 MB / 0.6075 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.0002239/0.2073, allocations: 181.8 kB / 0.8652 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.2074, allocations: 47.72 kB / 0.8652 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008431/0.2082, allocations: 472.8 kB / 0.8657 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006452/0.2089, allocations: 0.5692 MB / 0.8662 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.2089, allocations: 7.938 kB / 0.8662 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002484/0.2091, allocations: 176.6 kB / 0.8664 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.893e-05/0.2092, allocations: 8 kB / 0.8664 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/0.2095, allocations: 4 kB / 0.8664 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.2095, allocations: 23.97 kB / 0.8664 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008069/0.2103, allocations: 460.2 kB / 0.8669 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009987/0.2113, allocations: 0.7333 MB / 0.8676 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002311/0.2115, allocations: 152.2 kB / 0.8677 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000444/0.212, allocations: 338.9 kB / 0.868 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of Backend: time 3.81e-07/0.212, allocations: 3.938 kB / 0.868 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001282/0.2133, allocations: 443.8 kB / 0.8685 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of SimCode: time 0.002696/0.216, allocations: 1.642 MB / 0.8701 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of Templates: time 0.02144/0.2374, allocations: 11.86 MB / 0.8817 GB, free: 4.906 MB / 0.6231 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.095719869015738] Failed to read output from testmodel.py, exit status != 0: 0.2445300028193742 0.259068533 0.062077789 Calling exit ...