Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.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.001104/0.001104, allocations: 80.94 kB / 21.55 MB, free: 2.949 MB / 18.57 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.001209/0.001209, allocations: 162.7 kB / 24.96 MB, free: 8.711 MB / 18.57 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 0.9576/0.9576, allocations: 177.2 MB / 205.4 MB, free: 4.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.927/1.927, allocations: 389.6 MB / 0.6361 GB, free: 13.36 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.776 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.613e-05/2.76e-05, allocations: 2.312 kB / 0.776 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002162/0.00219, allocations: 1.541 MB / 0.7775 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005729/0.002763, allocations: 378.6 kB / 0.7779 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.249e-05/0.002795, allocations: 0 / 0.7779 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.455e-05/0.00283, allocations: 3.938 kB / 0.7779 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.203e-05/0.002892, allocations: 4 kB / 0.7779 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003205/0.003212, allocations: 95.56 kB / 0.778 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.295e-05/0.003275, allocations: 31.86 kB / 0.778 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.274e-05/0.003348, allocations: 0 / 0.778 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.851e-05/0.003396, allocations: 15.98 kB / 0.778 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.21e-05/0.003429, allocations: 11.98 kB / 0.778 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.003443, allocations: 0 / 0.778 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002966/0.003739, allocations: 279.6 kB / 0.7783 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.003754, allocations: 11.94 kB / 0.7783 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.34e-05/0.003767, allocations: 4 kB / 0.7783 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.003945, allocations: 127.7 kB / 0.7784 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.003948, allocations: 0 / 0.7784 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.31e-07/0.003949, allocations: 0 / 0.7784 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.003953, allocations: 0 / 0.7784 GB, free: 11.43 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000287/0.00424, allocations: 260.7 kB / 0.7787 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.004271, allocations: 8.031 kB / 0.7787 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.011e-05/0.004331, allocations: 8.875 kB / 0.7787 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.823e-05/0.004419, allocations: 121.7 kB / 0.7788 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.004428, allocations: 4.375 kB / 0.7788 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-06/0.004435, allocations: 4.375 kB / 0.7788 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.159e-05/0.004527, allocations: 50.95 kB / 0.7789 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.004533, allocations: 192 / 0.7789 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-06/0.00454, allocations: 4.375 kB / 0.7789 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.004545, allocations: 384 / 0.7789 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.827e-05/0.004563, allocations: 7.922 kB / 0.7789 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001853/0.004748, allocations: 144.3 kB / 0.779 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.508e-05/0.004793, allocations: 26.52 kB / 0.779 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.332e-05/0.004807, allocations: 4.859 kB / 0.779 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002653/0.005072, allocations: 76.03 kB / 0.7791 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.005096, allocations: 34.56 kB / 0.7791 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.005097, allocations: 0 / 0.7791 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.000127/0.005224, allocations: 41.64 kB / 0.7792 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.005254, allocations: 59.34 kB / 0.7792 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.356e-05/0.005317, allocations: 114.7 kB / 0.7793 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.005327, allocations: 25.7 kB / 0.7794 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.904e-05/0.005356, allocations: 80.14 kB / 0.7794 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.005377, allocations: 15.86 kB / 0.7795 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-05/0.005399, allocations: 13.72 kB / 0.7795 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.966e-05/0.005478, allocations: 310.8 kB / 0.7798 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.828e-06/0.005488, allocations: 4 kB / 0.7798 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.586e-06/0.005497, allocations: 0 / 0.7798 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.873e-05/0.005526, allocations: 17.03 kB / 0.7798 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.005527, allocations: 4 kB / 0.7798 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.684e-05/0.005594, allocations: 41.64 kB / 0.7798 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.005606, allocations: 4 kB / 0.7798 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.005612, allocations: 0 / 0.7798 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.005623, allocations: 0 / 0.7798 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.298e-05/0.005676, allocations: 11.92 kB / 0.7798 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-06/0.005679, allocations: 0 / 0.7798 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.467e-05/0.005693, allocations: 4 kB / 0.7799 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-06/0.005697, allocations: 3.938 kB / 0.7799 GB, free: 9.789 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 5.165e-05/0.005748, allocations: 113.9 kB / 0.78 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.064e-05/0.005769, allocations: 3.984 kB / 0.78 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.318e-05/0.005842, allocations: 45.31 kB / 0.78 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.005844, allocations: 0 / 0.78 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.005846, allocations: 3.938 kB / 0.78 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.005849, allocations: 0 / 0.78 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.309e-05/0.005932, allocations: 69.84 kB / 0.7801 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.005933, allocations: 3.938 kB / 0.7801 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.385e-05/0.005957, allocations: 11.98 kB / 0.7801 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.005958, allocations: 4.031 kB / 0.7801 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-06/0.005963, allocations: 0 / 0.7801 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.005963, allocations: 0 / 0.7801 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.005964, allocations: 0 / 0.7801 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.462e-05/0.006039, allocations: 139.5 kB / 0.7802 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-06/0.006044, allocations: 0 / 0.7802 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.332e-06/0.00605, allocations: 0 / 0.7802 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.666e-05/0.006077, allocations: 4 kB / 0.7802 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.5e-05/0.006102, allocations: 7.984 kB / 0.7802 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.006105, allocations: 256 / 0.7802 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.139e-05/0.006116, allocations: 16.8 kB / 0.7803 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006116, allocations: 4.031 kB / 0.7803 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001193/0.006235, allocations: 12 kB / 0.7803 GB, free: 9.305 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001262/0.006362, allocations: 104.3 kB / 0.7804 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.624e-05/0.006418, allocations: 8.859 kB / 0.7804 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.00642, allocations: 0 / 0.7804 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.337e-05/0.006434, allocations: 12.84 kB / 0.7804 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001254/0.006559, allocations: 8 kB / 0.7804 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002063/0.006766, allocations: 108.8 kB / 0.7805 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.98e-05/0.006795, allocations: 55.36 kB / 0.7806 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.66e-05/0.006812, allocations: 3.938 kB / 0.7806 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.521e-05/0.006847, allocations: 51.38 kB / 0.7806 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of SimCode: time 7.61e-07/0.006848, allocations: 0 / 0.7806 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of Templates: time 0.002152/0.009, allocations: 0.792 MB / 0.7814 GB, free: 8.105 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.848581049591303]