Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.00107/0.00107, allocations: 104.4 kB / 16.36 MB, free: 5.953 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.001046/0.001046, allocations: 194.7 kB / 17.3 MB, free: 5.578 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.341/1.341, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.818/1.818, allocations: 292.3 MB / 0.5496 GB, free: 17.61 MB / 462.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.001517/0.001517, allocations: 71.91 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2287, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002856/0.2316, allocations: 1.437 MB / 0.7862 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0006662/0.2323, allocations: 383.5 kB / 0.7865 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.901e-05/0.2323, allocations: 0 / 0.7865 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.237e-05/0.2324, allocations: 0 / 0.7865 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.42e-05/0.2324, allocations: 3.938 kB / 0.7866 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004216/0.2329, allocations: 119.6 kB / 0.7867 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.752e-05/0.2329, allocations: 23.94 kB / 0.7867 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.676e-05/0.233, allocations: 7.984 kB / 0.7867 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.106e-05/0.2331, allocations: 11.98 kB / 0.7867 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.88e-05/0.2331, allocations: 19.86 kB / 0.7867 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.2331, allocations: 0 / 0.7867 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003601/0.2335, allocations: 275.6 kB / 0.787 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.2335, allocations: 8 kB / 0.787 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.391e-05/0.2335, allocations: 11.88 kB / 0.787 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.2337, allocations: 111.8 kB / 0.7871 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2338, allocations: 0 / 0.7871 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2338, allocations: 0 / 0.7871 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.295e-06/0.2338, allocations: 0 / 0.7871 GB, free: 0.7812 MB / 0.6544 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.000459/0.2342, allocations: 367.3 kB / 0.7875 GB, free: 380 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.2343, allocations: 12.03 kB / 0.7875 GB, free: 368 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.174e-05/0.2343, allocations: 4.922 kB / 0.7875 GB, free: 364 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.2344, allocations: 168.3 kB / 0.7876 GB, free: 156 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.2345, allocations: 384 / 0.7876 GB, free: 156 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.2345, allocations: 8.375 kB / 0.7877 GB, free: 148 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.2346, allocations: 50.23 kB / 0.7877 GB, free: 92 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.2347, allocations: 192 / 0.7877 GB, free: 92 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.2347, allocations: 3.938 kB / 0.7877 GB, free: 88 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.2347, allocations: 0 / 0.7877 GB, free: 88 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001782/0.2349, allocations: 39.89 kB / 0.7877 GB, free: 48 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4052/0.64, allocations: 241.1 kB / 0.788 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.6403, allocations: 41.31 kB / 0.788 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.916e-05/0.6404, allocations: 25.91 kB / 0.788 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006171/0.641, allocations: 462 kB / 0.7885 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.641, allocations: 34.92 kB / 0.7885 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 2.654e-06/0.641, allocations: 3.156 kB / 0.7885 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003848/0.6414, allocations: 79.73 kB / 0.7886 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.6415, allocations: 51.41 kB / 0.7886 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.601e-05/0.6415, allocations: 106.2 kB / 0.7887 GB, free: 48 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.6416, allocations: 26.92 kB / 0.7888 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.026e-05/0.6416, allocations: 91.53 kB / 0.7889 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.6416, allocations: 9.594 kB / 0.7889 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.825e-05/0.6417, allocations: 13.38 kB / 0.7889 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.71e-05/0.6417, allocations: 319.1 kB / 0.7892 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.801e-05/0.6418, allocations: 18.2 kB / 0.7892 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.568e-05/0.6419, allocations: 17.59 kB / 0.7892 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.642, allocations: 42.19 kB / 0.7893 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.642, allocations: 0.9375 kB / 0.7893 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001773/0.6422, allocations: 66.2 kB / 0.7893 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.6422, allocations: 9.281 kB / 0.7893 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.6422, allocations: 3.094 kB / 0.7893 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.6423, allocations: 0 / 0.7893 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.461e-05/0.6424, allocations: 11.73 kB / 0.7893 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.6424, allocations: 5.312 kB / 0.7893 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.32e-05/0.6424, allocations: 7.391 kB / 0.7894 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.6424, allocations: 0 / 0.7894 GB, free: 47.52 MB / 0.6544 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.315e-05/0.6425, allocations: 113.9 kB / 0.7895 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.6425, allocations: 6.625 kB / 0.7895 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/0.6427, allocations: 76.38 kB / 0.7895 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.6428, allocations: 0 / 0.7895 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.6428, allocations: 0 / 0.7895 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.6428, allocations: 0.5312 kB / 0.7895 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.6429, allocations: 165.6 kB / 0.7897 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.6429, allocations: 1.172 kB / 0.7897 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.212e-05/0.643, allocations: 10.17 kB / 0.7897 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.643, allocations: 3.938 kB / 0.7897 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.643, allocations: 4.375 kB / 0.7897 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.643, allocations: 0 / 0.7897 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.643, allocations: 0 / 0.7897 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.6432, allocations: 169.8 kB / 0.7899 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.268e-05/0.6433, allocations: 83.95 kB / 0.79 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.6433, allocations: 0 / 0.79 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.921e-05/0.6434, allocations: 5.828 kB / 0.79 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.6434, allocations: 5.906 kB / 0.79 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.6434, allocations: 0 / 0.79 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.712e-05/0.6435, allocations: 86.25 kB / 0.7901 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6435, allocations: 0.7188 kB / 0.7901 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002355/0.6437, allocations: 16.44 kB / 0.7901 GB, free: 46.88 MB / 0.6544 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.0001579/0.6439, allocations: 110.8 kB / 0.7902 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002111/0.6441, allocations: 38.72 kB / 0.7902 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.6441, allocations: 0 / 0.7902 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.846e-05/0.6442, allocations: 24 kB / 0.7902 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.6445, allocations: 4.219 kB / 0.7902 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002552/0.6448, allocations: 102.4 kB / 0.7903 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.6449, allocations: 0.6833 MB / 0.791 GB, free: 46 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.371e-05/0.6449, allocations: 2.625 kB / 0.791 GB, free: 46 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.75e-05/0.6449, allocations: 9.625 kB / 0.791 GB, free: 46 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.6449, allocations: 0.6562 kB / 0.791 GB, free: 46 MB / 0.6544 GB Notification: Performance of Templates: time 0.002997/0.6479, allocations: 0.7065 MB / 0.7917 GB, free: 46 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)