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.001097/0.001096, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.001341/0.001341, allocations: 179 kB / 16.27 MB, free: 6.664 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.748/1.748, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.6079/0.6079, allocations: 95.63 MB / 366.4 MB, free: 10.3 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.0006596/0.0006599, allocations: 12 kB / 447.5 MB, free: 9.051 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.4061, allocations: 70.33 MB / 0.5057 GB, free: 16.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001356/0.4075, allocations: 1.13 MB / 0.5068 GB, free: 15.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006306/0.4082, allocations: 379.5 kB / 0.5071 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.726e-05/0.4082, allocations: 4 kB / 0.5071 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.555e-05/0.4082, allocations: 0 / 0.5071 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.017e-05/0.4083, allocations: 7.922 kB / 0.5071 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.4086, allocations: 67.81 kB / 0.5072 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.561e-05/0.4087, allocations: 23.92 kB / 0.5072 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.575e-05/0.4088, allocations: 7.984 kB / 0.5072 GB, free: 14.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.878e-05/0.4088, allocations: 7.984 kB / 0.5072 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.492e-05/0.4088, allocations: 15.94 kB / 0.5073 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.4089, allocations: 0 / 0.5073 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002505/0.4091, allocations: 235.7 kB / 0.5075 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.333e-05/0.4091, allocations: 0 / 0.5075 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.594e-05/0.4092, allocations: 41.62 kB / 0.5075 GB, free: 14.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.4093, allocations: 103.8 kB / 0.5076 GB, free: 14.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.4093, allocations: 0 / 0.5076 GB, free: 14.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4093, allocations: 0 / 0.5076 GB, free: 14.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.4093, allocations: 0 / 0.5076 GB, free: 14.34 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.0004021/0.4098, allocations: 373.3 kB / 0.508 GB, free: 13.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.4098, allocations: 11.98 kB / 0.508 GB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.469e-05/0.4099, allocations: 8.844 kB / 0.508 GB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.959e-05/0.41, allocations: 160.4 kB / 0.5081 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.41, allocations: 384 / 0.5081 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.41, allocations: 7.938 kB / 0.5082 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.4102, allocations: 65.59 kB / 0.5082 GB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.4102, allocations: 0 / 0.5082 GB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.4102, allocations: 0 / 0.5082 GB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.4102, allocations: 0 / 0.5082 GB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.4104, allocations: 43.95 kB / 0.5083 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002635/0.4107, allocations: 264.8 kB / 0.5085 GB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.4108, allocations: 38.56 kB / 0.5085 GB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.487e-05/0.4109, allocations: 28.84 kB / 0.5086 GB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005518/0.4114, allocations: 469.4 kB / 0.509 GB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.4115, allocations: 34.56 kB / 0.5091 GB, free: 12.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.4115, allocations: 4 kB / 0.5091 GB, free: 12.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003735/0.4119, allocations: 97.67 kB / 0.5092 GB, free: 12.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.4119, allocations: 55.41 kB / 0.5092 GB, free: 12.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.417e-05/0.412, allocations: 105.8 kB / 0.5093 GB, free: 12.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.412, allocations: 25.7 kB / 0.5093 GB, free: 12.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.967e-05/0.412, allocations: 88.14 kB / 0.5094 GB, free: 12.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.412, allocations: 3.906 kB / 0.5094 GB, free: 12.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.881e-05/0.4121, allocations: 9.719 kB / 0.5094 GB, free: 12.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.948e-05/0.4121, allocations: 314.8 kB / 0.5097 GB, free: 11.87 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.213e-05/0.4122, allocations: 35.91 kB / 0.5098 GB, free: 11.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.905e-05/0.4123, allocations: 19.98 kB / 0.5098 GB, free: 11.81 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.4125, allocations: 52.89 kB / 0.5098 GB, free: 11.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4125, allocations: 0 / 0.5098 GB, free: 11.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000191/0.4127, allocations: 73.66 kB / 0.5099 GB, free: 11.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.4127, allocations: 12.03 kB / 0.5099 GB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.4127, allocations: 0 / 0.5099 GB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.4127, allocations: 0 / 0.5099 GB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.922e-05/0.4128, allocations: 15.92 kB / 0.5099 GB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.4128, allocations: 0 / 0.5099 GB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.493e-05/0.4129, allocations: 8 kB / 0.5099 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.4129, allocations: 7.922 kB / 0.5099 GB, free: 11.64 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.411e-05/0.4129, allocations: 117.8 kB / 0.5101 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.413, allocations: 4 kB / 0.5101 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002113/0.4132, allocations: 85.14 kB / 0.5101 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.4132, allocations: 0 / 0.5101 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4132, allocations: 0 / 0.5101 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.4132, allocations: 4.031 kB / 0.5101 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.4133, allocations: 169.5 kB / 0.5103 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.4133, allocations: 0 / 0.5103 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.428e-05/0.4134, allocations: 11.98 kB / 0.5103 GB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.4134, allocations: 0 / 0.5103 GB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.4134, allocations: 256 / 0.5103 GB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4134, allocations: 4 kB / 0.5103 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4134, allocations: 4 kB / 0.5103 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002124/0.4136, allocations: 183.3 kB / 0.5105 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.998e-05/0.4137, allocations: 77.11 kB / 0.5106 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.4137, allocations: 4 kB / 0.5106 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.13e-05/0.4138, allocations: 15.95 kB / 0.5106 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-05/0.4138, allocations: 4 kB / 0.5106 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.4138, allocations: 0 / 0.5106 GB, free: 10.87 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.389e-05/0.4138, allocations: 83.28 kB / 0.5107 GB, free: 10.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4138, allocations: 0 / 0.5107 GB, free: 10.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000221/0.4141, allocations: 19.92 kB / 0.5107 GB, free: 10.77 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.0001374/0.4142, allocations: 107.2 kB / 0.5108 GB, free: 10.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002159/0.4144, allocations: 55.89 kB / 0.5109 GB, free: 10.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.4144, allocations: 0 / 0.5109 GB, free: 10.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.306e-05/0.4145, allocations: 23.98 kB / 0.5109 GB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.4148, allocations: 4.125 kB / 0.5109 GB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002544/0.4151, allocations: 120.6 kB / 0.511 GB, free: 10.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.4152, allocations: 0.677 MB / 0.5117 GB, free: 9.719 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.254e-05/0.4152, allocations: 3.906 kB / 0.5117 GB, free: 9.715 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/0.4152, allocations: 11.44 kB / 0.5117 GB, free: 9.703 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4153, allocations: 0 / 0.5117 GB, free: 9.703 MB / 382.1 MB Notification: Performance of Templates: time 0.002692/0.418, allocations: 0.6447 MB / 0.5123 GB, free: 9.062 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: