Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.801/1.801, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.606/1.606, allocations: 251.9 MB / 0.51 GB, free: 4.801 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005253/0.0005255, allocations: 16 kB / 0.6241 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6211/0.6216, allocations: 106.3 MB / 0.728 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.00177/0.6234, allocations: 1.156 MB / 0.7291 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006924/0.6241, allocations: 356 kB / 0.7294 GB, free: 9.875 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.549e-05/0.6242, allocations: 0 / 0.7294 GB, free: 9.875 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.419e-05/0.6242, allocations: 0 / 0.7294 GB, free: 9.875 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.425e-05/0.6242, allocations: 4 kB / 0.7294 GB, free: 9.871 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004109/0.6247, allocations: 75.28 kB / 0.7295 GB, free: 9.801 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.02e-05/0.6248, allocations: 19.91 kB / 0.7295 GB, free: 9.781 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.6249, allocations: 4 kB / 0.7295 GB, free: 9.777 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.515e-05/0.6249, allocations: 11.92 kB / 0.7296 GB, free: 9.766 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.558e-05/0.625, allocations: 11.92 kB / 0.7296 GB, free: 9.754 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.625, allocations: 0 / 0.7296 GB, free: 9.754 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003731/0.6254, allocations: 267.6 kB / 0.7298 GB, free: 9.492 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.095e-05/0.6254, allocations: 7.984 kB / 0.7298 GB, free: 9.484 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.535e-05/0.6255, allocations: 25.7 kB / 0.7298 GB, free: 9.453 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.6256, allocations: 71.88 kB / 0.7299 GB, free: 9.383 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.6256, allocations: 0 / 0.7299 GB, free: 9.383 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6256, allocations: 0 / 0.7299 GB, free: 9.383 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.6256, allocations: 0 / 0.7299 GB, free: 9.383 MB / 0.545 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.00053/0.6262, allocations: 357.3 kB / 0.7303 GB, free: 8.988 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.6262, allocations: 16.03 kB / 0.7303 GB, free: 8.973 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.769e-05/0.6263, allocations: 3.906 kB / 0.7303 GB, free: 8.969 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.6265, allocations: 174.9 kB / 0.7304 GB, free: 8.758 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.6265, allocations: 0 / 0.7304 GB, free: 8.758 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.6265, allocations: 3.984 kB / 0.7304 GB, free: 8.754 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.6267, allocations: 49.69 kB / 0.7305 GB, free: 8.699 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.6267, allocations: 0 / 0.7305 GB, free: 8.699 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.6268, allocations: 7.984 kB / 0.7305 GB, free: 8.691 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.6268, allocations: 4 kB / 0.7305 GB, free: 8.688 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.627, allocations: 43.95 kB / 0.7305 GB, free: 8.645 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003686/0.6273, allocations: 256.9 kB / 0.7308 GB, free: 8.344 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.6275, allocations: 46.56 kB / 0.7308 GB, free: 8.289 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006911/0.6282, allocations: 461.5 kB / 0.7313 GB, free: 7.746 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.6282, allocations: 30.56 kB / 0.7313 GB, free: 7.707 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.382e-06/0.6282, allocations: 0 / 0.7313 GB, free: 7.707 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0004439/0.6287, allocations: 105.6 kB / 0.7314 GB, free: 7.598 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.6287, allocations: 51.41 kB / 0.7315 GB, free: 7.535 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.14e-05/0.6288, allocations: 105.8 kB / 0.7316 GB, free: 7.422 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.6288, allocations: 25.7 kB / 0.7316 GB, free: 7.391 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.699e-05/0.6289, allocations: 96.03 kB / 0.7317 GB, free: 7.293 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.6289, allocations: 4.125 kB / 0.7317 GB, free: 7.289 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.6289, allocations: 0 / 0.7317 GB, free: 7.289 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.6291, allocations: 318.8 kB / 0.732 GB, free: 6.969 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.171e-05/0.6292, allocations: 19.98 kB / 0.732 GB, free: 6.949 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.507e-05/0.6292, allocations: 23.97 kB / 0.732 GB, free: 6.926 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.349e-05/0.6293, allocations: 24.05 kB / 0.732 GB, free: 6.902 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6294, allocations: 0 / 0.732 GB, free: 6.902 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002077/0.6296, allocations: 81.58 kB / 0.7321 GB, free: 6.816 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.6296, allocations: 11.98 kB / 0.7321 GB, free: 6.805 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.6296, allocations: 0 / 0.7321 GB, free: 6.805 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.6296, allocations: 0 / 0.7321 GB, free: 6.805 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-05/0.6297, allocations: 15.88 kB / 0.7322 GB, free: 6.789 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.6297, allocations: 0 / 0.7322 GB, free: 6.789 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.844e-05/0.6298, allocations: 11.98 kB / 0.7322 GB, free: 6.777 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.6298, allocations: 0 / 0.7322 GB, free: 6.777 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.191e-05/0.6299, allocations: 113.8 kB / 0.7323 GB, free: 6.656 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/0.6299, allocations: 4 kB / 0.7323 GB, free: 6.652 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000236/0.6302, allocations: 85.17 kB / 0.7324 GB, free: 6.562 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.6302, allocations: 4.031 kB / 0.7324 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6302, allocations: 0 / 0.7324 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.6302, allocations: 0 / 0.7324 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.6304, allocations: 165.6 kB / 0.7325 GB, free: 6.348 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.6304, allocations: 0 / 0.7325 GB, free: 6.348 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.62e-05/0.6305, allocations: 11.98 kB / 0.7325 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.6305, allocations: 0 / 0.7325 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.6305, allocations: 4.188 kB / 0.7325 GB, free: 6.332 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/0.6305, allocations: 4 kB / 0.7325 GB, free: 6.328 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.6305, allocations: 0 / 0.7325 GB, free: 6.328 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.6308, allocations: 183.4 kB / 0.7327 GB, free: 6.133 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/0.6308, allocations: 77.11 kB / 0.7328 GB, free: 6.039 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.6308, allocations: 4.031 kB / 0.7328 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.886e-05/0.6309, allocations: 15.98 kB / 0.7328 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.631, allocations: 0 / 0.7328 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.631, allocations: 7.938 kB / 0.7328 GB, free: 6.012 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.944e-05/0.6311, allocations: 83.27 kB / 0.7329 GB, free: 5.93 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.6311, allocations: 0 / 0.7329 GB, free: 5.93 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002618/0.6313, allocations: 19.94 kB / 0.7329 GB, free: 5.91 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001869/0.6315, allocations: 115.2 kB / 0.733 GB, free: 5.789 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002239/0.6318, allocations: 47.91 kB / 0.7331 GB, free: 5.742 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6318, allocations: 0 / 0.7331 GB, free: 5.742 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.635e-05/0.6319, allocations: 28.05 kB / 0.7331 GB, free: 5.715 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.6321, allocations: 3.953 kB / 0.7331 GB, free: 5.711 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000272/0.6324, allocations: 116.7 kB / 0.7332 GB, free: 5.574 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.6326, allocations: 0.6809 MB / 0.7339 GB, free: 4.867 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.735e-05/0.6327, allocations: 7.984 kB / 0.7339 GB, free: 4.859 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.698e-05/0.6327, allocations: 11.5 kB / 0.7339 GB, free: 4.848 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.6327, allocations: 0 / 0.7339 GB, free: 4.848 MB / 0.545 GB Notification: Performance of Templates: time 0.002984/0.6357, allocations: 0.6166 MB / 0.7345 GB, free: 4.23 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) Environment - environmentSimulation: