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/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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/Buildings 1.6.0+build.1/package.mo): time 0.5105/0.5105, allocations: 94.77 MB / 102.2 MB, free: 10.13 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001242/0.001242, allocations: 175.7 kB / 125.6 MB, free: 11.9 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.434/1.434, allocations: 170.6 MB / 319.4 MB, free: 9.277 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001682/0.001682, allocations: 102.4 kB / 381.3 MB, free: 18.32 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.307e-05/3.309e-05, allocations: 4 kB / 449.1 MB, free: 1.746 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1754, allocations: 61.52 MB / 0.4987 GB, free: 4.133 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4686/0.6441, allocations: 93.46 MB / 0.5899 GB, free: 8.504 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.6444, allocations: 72.52 kB / 0.59 GB, free: 8.434 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0115/0.656, allocations: 3.778 MB / 0.5937 GB, free: 4.734 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.656, allocations: 0 / 0.5937 GB, free: 4.734 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.656, allocations: 0.5 kB / 0.5937 GB, free: 4.734 MB / 410.7 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.00044/0.6565, allocations: 367.8 kB / 0.594 GB, free: 4.332 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.6565, allocations: 12.78 kB / 0.5941 GB, free: 4.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.138e-05/0.6566, allocations: 2.5 kB / 0.5941 GB, free: 4.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.6568, allocations: 167.6 kB / 0.5942 GB, free: 4.117 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.6568, allocations: 0.8125 kB / 0.5942 GB, free: 4.117 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.6568, allocations: 0 / 0.5942 GB, free: 4.117 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.117e-05/0.6569, allocations: 14.23 kB / 0.5942 GB, free: 4.105 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.542e-05/0.657, allocations: 38.25 kB / 0.5943 GB, free: 4.062 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.657, allocations: 0.5 kB / 0.5943 GB, free: 4.062 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.657, allocations: 0.75 kB / 0.5943 GB, free: 4.062 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.657, allocations: 1.25 kB / 0.5943 GB, free: 4.062 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004236/0.6574, allocations: 249.8 kB / 0.5945 GB, free: 3.785 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.689e-05/0.6575, allocations: 40.05 kB / 0.5945 GB, free: 3.742 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.519e-05/0.6576, allocations: 8.922 kB / 0.5946 GB, free: 3.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007225/0.6583, allocations: 469.3 kB / 0.595 GB, free: 3.184 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.6584, allocations: 30.56 kB / 0.595 GB, free: 3.145 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.6584, allocations: 0.6562 kB / 0.595 GB, free: 3.145 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002093/0.6586, allocations: 42.08 kB / 0.5951 GB, free: 3.102 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.6586, allocations: 51.41 kB / 0.5951 GB, free: 3.039 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.372e-05/0.6587, allocations: 101 kB / 0.5952 GB, free: 2.934 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.6587, allocations: 25.7 kB / 0.5952 GB, free: 2.902 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.997e-05/0.6588, allocations: 80.77 kB / 0.5953 GB, free: 2.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.6588, allocations: 11.91 kB / 0.5953 GB, free: 2.809 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.6588, allocations: 0 / 0.5953 GB, free: 2.809 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.659, allocations: 311.5 kB / 0.5956 GB, free: 2.496 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.334e-05/0.659, allocations: 6.344 kB / 0.5956 GB, free: 2.492 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.643e-05/0.659, allocations: 11.92 kB / 0.5956 GB, free: 2.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.509e-05/0.6591, allocations: 4.094 kB / 0.5956 GB, free: 2.477 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6591, allocations: 4 kB / 0.5956 GB, free: 2.473 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.835e-05/0.6592, allocations: 45.61 kB / 0.5957 GB, free: 2.422 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.6592, allocations: 4 kB / 0.5957 GB, free: 2.418 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.6592, allocations: 8.516 kB / 0.5957 GB, free: 2.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.6592, allocations: 0 / 0.5957 GB, free: 2.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.6594, allocations: 11.98 kB / 0.5957 GB, free: 2.398 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.6594, allocations: 0 / 0.5957 GB, free: 2.398 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.561e-05/0.6594, allocations: 13.98 kB / 0.5957 GB, free: 2.387 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.6595, allocations: 4.5 kB / 0.5957 GB, free: 2.383 MB / 410.7 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 () * 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 7.513e-05/0.6595, allocations: 101 kB / 0.5958 GB, free: 2.277 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.198e-05/0.6596, allocations: 4 kB / 0.5958 GB, free: 2.273 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001414/0.6597, allocations: 58.25 kB / 0.5959 GB, free: 2.211 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.6597, allocations: 3.953 kB / 0.5959 GB, free: 2.207 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.6598, allocations: 0 / 0.5959 GB, free: 2.207 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.6598, allocations: 2.625 kB / 0.5959 GB, free: 2.207 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.6599, allocations: 142.2 kB / 0.596 GB, free: 2.031 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.6599, allocations: 4 kB / 0.596 GB, free: 2.027 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.66e-05/0.66, allocations: 8 kB / 0.596 GB, free: 2.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.66, allocations: 3.938 kB / 0.596 GB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.66, allocations: 0 / 0.596 GB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.66, allocations: 0 / 0.596 GB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.6601, allocations: 0 / 0.596 GB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.6602, allocations: 143.5 kB / 0.5962 GB, free: 1.859 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.601e-05/0.6603, allocations: 81.02 kB / 0.5963 GB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.6603, allocations: 4 kB / 0.5963 GB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.836e-05/0.6604, allocations: 7.984 kB / 0.5963 GB, free: 1.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.6604, allocations: 11.94 kB / 0.5963 GB, free: 1.738 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.6605, allocations: 0 / 0.5963 GB, free: 1.738 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.307e-05/0.6605, allocations: 87.78 kB / 0.5964 GB, free: 1.652 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6605, allocations: 0 / 0.5964 GB, free: 1.652 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002287/0.6607, allocations: 19.97 kB / 0.5964 GB, free: 1.633 MB / 410.7 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 () * 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.0001929/0.6609, allocations: 115.2 kB / 0.5965 GB, free: 1.512 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.284e-05/0.661, allocations: 12 kB / 0.5965 GB, free: 1.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.6611, allocations: 0 / 0.5965 GB, free: 1.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.487e-05/0.6611, allocations: 9.594 kB / 0.5965 GB, free: 1.492 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.6613, allocations: 9.078 kB / 0.5965 GB, free: 1.484 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002264/0.6615, allocations: 53.77 kB / 0.5966 GB, free: 1.414 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.6618, allocations: 0.6924 MB / 0.5973 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.929e-05/0.6619, allocations: 1.25 kB / 0.5973 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.328e-05/0.6619, allocations: 11.44 kB / 0.5973 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6619, allocations: 0 / 0.5973 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of Templates: time 0.002796/0.6647, allocations: 0.5616 MB / 0.5978 GB, free: 156 kB / 410.7 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)