Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001441/0.001441, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 197.9 kB / 16.54 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.613/1.613, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6393/0.6393, allocations: 95.49 MB / 365.2 MB, free: 9.891 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 67.91 kB / 445.3 MB, free: 9.629 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3331, allocations: 69.07 MB / 0.5024 GB, free: 17.38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002459/0.3356, allocations: 1.408 MB / 0.5037 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006098/0.3363, allocations: 359.2 kB / 0.5041 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.659e-05/0.3363, allocations: 0 / 0.5041 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.947e-05/0.3363, allocations: 3.938 kB / 0.5041 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.751e-05/0.3364, allocations: 7.922 kB / 0.5041 GB, free: 15.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003943/0.3368, allocations: 107.6 kB / 0.5042 GB, free: 15.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.944e-05/0.3369, allocations: 27.94 kB / 0.5042 GB, free: 15.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.023e-05/0.337, allocations: 9.953 kB / 0.5042 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.11e-05/0.337, allocations: 4 kB / 0.5042 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.792e-05/0.3371, allocations: 19.91 kB / 0.5042 GB, free: 15.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.3371, allocations: 4 kB / 0.5043 GB, free: 15.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003179/0.3374, allocations: 231.7 kB / 0.5045 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.3374, allocations: 4 kB / 0.5045 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.135e-05/0.3375, allocations: 15.92 kB / 0.5045 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.3377, allocations: 103.8 kB / 0.5046 GB, free: 15.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3377, allocations: 0 / 0.5046 GB, free: 15.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3377, allocations: 4 kB / 0.5046 GB, free: 15.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.3377, allocations: 0 / 0.5046 GB, free: 15.07 MB / 382.1 MB 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.0005252/0.3382, allocations: 367.3 kB / 0.5049 GB, free: 14.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.3383, allocations: 15.97 kB / 0.505 GB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.938e-05/0.3384, allocations: 8.844 kB / 0.505 GB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.3385, allocations: 160.4 kB / 0.5051 GB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.3385, allocations: 4.375 kB / 0.5051 GB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.948e-06/0.3385, allocations: 3.938 kB / 0.5051 GB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.3387, allocations: 57.61 kB / 0.5052 GB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.3387, allocations: 0 / 0.5052 GB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.3388, allocations: 0 / 0.5052 GB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3388, allocations: 0 / 0.5052 GB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.3389, allocations: 35.95 kB / 0.5052 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003281/0.3393, allocations: 248.9 kB / 0.5055 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.3394, allocations: 46.55 kB / 0.5055 GB, free: 14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.432e-05/0.3395, allocations: 20.84 kB / 0.5055 GB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005888/0.3401, allocations: 461.5 kB / 0.506 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.476e-05/0.3401, allocations: 30.56 kB / 0.506 GB, free: 13.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.3401, allocations: 0 / 0.506 GB, free: 13.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003476/0.3405, allocations: 85.55 kB / 0.5061 GB, free: 13.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.142e-05/0.3405, allocations: 55.53 kB / 0.5061 GB, free: 13.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.992e-05/0.3406, allocations: 109.8 kB / 0.5062 GB, free: 13.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.3406, allocations: 25.7 kB / 0.5063 GB, free: 13.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.823e-05/0.3406, allocations: 84.08 kB / 0.5063 GB, free: 13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.533e-05/0.3406, allocations: 11.91 kB / 0.5063 GB, free: 12.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.3407, allocations: 13.7 kB / 0.5064 GB, free: 12.97 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.828e-05/0.3407, allocations: 318.8 kB / 0.5067 GB, free: 12.65 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.734e-05/0.3408, allocations: 23.92 kB / 0.5067 GB, free: 12.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.563e-05/0.3409, allocations: 15.98 kB / 0.5067 GB, free: 12.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.341, allocations: 40.81 kB / 0.5067 GB, free: 12.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.341, allocations: 0 / 0.5067 GB, free: 12.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001797/0.3412, allocations: 65.75 kB / 0.5068 GB, free: 12.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.3412, allocations: 12 kB / 0.5068 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3412, allocations: 0 / 0.5068 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.3413, allocations: 0 / 0.5068 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.929e-05/0.3413, allocations: 11.92 kB / 0.5068 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3414, allocations: 0 / 0.5068 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.271e-05/0.3414, allocations: 7.984 kB / 0.5068 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.3414, allocations: 7.938 kB / 0.5068 GB, free: 12.46 MB / 382.1 MB 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 4.711e-05/0.3415, allocations: 117.7 kB / 0.507 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/0.3415, allocations: 11.91 kB / 0.507 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002016/0.3417, allocations: 77.12 kB / 0.507 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3417, allocations: 0 / 0.507 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3417, allocations: 4 kB / 0.507 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3417, allocations: 0 / 0.507 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.3419, allocations: 161.6 kB / 0.5072 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3419, allocations: 0 / 0.5072 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.223e-05/0.3419, allocations: 11.98 kB / 0.5072 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3419, allocations: 4.031 kB / 0.5072 GB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.3419, allocations: 0 / 0.5072 GB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3419, allocations: 0 / 0.5072 GB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3419, allocations: 0 / 0.5072 GB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.3422, allocations: 167.4 kB / 0.5074 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.775e-05/0.3422, allocations: 81.11 kB / 0.5074 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.3422, allocations: 8.016 kB / 0.5075 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.873e-05/0.3423, allocations: 4 kB / 0.5075 GB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.3423, allocations: 0 / 0.5075 GB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.3423, allocations: 3.984 kB / 0.5075 GB, free: 11.72 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.151e-05/0.3423, allocations: 87.53 kB / 0.5075 GB, free: 11.63 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3424, allocations: 4 kB / 0.5076 GB, free: 11.63 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002191/0.3426, allocations: 15.94 kB / 0.5076 GB, free: 11.61 MB / 382.1 MB 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.0001423/0.3427, allocations: 111.2 kB / 0.5077 GB, free: 11.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002119/0.3429, allocations: 39.91 kB / 0.5077 GB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.343, allocations: 4 kB / 0.5077 GB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.819e-05/0.343, allocations: 19.97 kB / 0.5077 GB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.3433, allocations: 3.938 kB / 0.5077 GB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002502/0.3436, allocations: 125.5 kB / 0.5079 GB, free: 11.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.3437, allocations: 0.6768 MB / 0.5085 GB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.188e-05/0.3438, allocations: 3.984 kB / 0.5085 GB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.82e-05/0.3438, allocations: 7.438 kB / 0.5085 GB, free: 10.56 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3438, allocations: 3.938 kB / 0.5085 GB, free: 10.56 MB / 382.1 MB Notification: Performance of Templates: time 0.002658/0.3465, allocations: 0.6987 MB / 0.5092 GB, free: 9.863 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)