Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Examples.RegNonZeroPower.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00246/0.002463, allocations: 357.2 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.535/1.535, allocations: 165.8 MB / 182.5 MB, free: 5.414 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.951/3.951, allocations: 410.8 MB / 0.5995 GB, free: 15.18 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001712/0.001711, allocations: 194.8 kB / 0.6662 GB, free: 6.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004893/0.0004895, allocations: 19.94 kB / 0.7423 GB, free: 8.977 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3313, allocations: 67.44 MB / 0.8082 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.001357/0.3327, allocations: 1.138 MB / 0.8093 GB, free: 27.65 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005846/0.3333, allocations: 351.1 kB / 0.8096 GB, free: 27.31 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.006e-05/0.3334, allocations: 0 / 0.8096 GB, free: 27.31 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.242e-05/0.3334, allocations: 0 / 0.8096 GB, free: 27.31 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.181e-05/0.3334, allocations: 3.938 kB / 0.8096 GB, free: 27.3 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.3338, allocations: 83.77 kB / 0.8097 GB, free: 27.22 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.013e-05/0.3339, allocations: 19.94 kB / 0.8097 GB, free: 27.2 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.618e-05/0.3339, allocations: 3.984 kB / 0.8097 GB, free: 27.2 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.83e-05/0.334, allocations: 15.92 kB / 0.8097 GB, free: 27.18 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.687e-05/0.334, allocations: 7.984 kB / 0.8097 GB, free: 27.18 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.3341, allocations: 0 / 0.8097 GB, free: 27.18 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003682/0.3344, allocations: 263.7 kB / 0.81 GB, free: 26.92 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.038e-05/0.3345, allocations: 11.94 kB / 0.81 GB, free: 26.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.82e-05/0.3345, allocations: 25.7 kB / 0.81 GB, free: 26.88 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.3346, allocations: 71.88 kB / 0.8101 GB, free: 26.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.68e-06/0.3347, allocations: 0 / 0.8101 GB, free: 26.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.901e-06/0.3347, allocations: 0 / 0.8101 GB, free: 26.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.661e-06/0.3347, allocations: 3.938 kB / 0.8101 GB, free: 26.8 MB / 378.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.000374/0.3351, allocations: 357.4 kB / 0.8104 GB, free: 26.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.3351, allocations: 16.02 kB / 0.8104 GB, free: 26.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.897e-05/0.3352, allocations: 4 kB / 0.8104 GB, free: 26.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.343e-05/0.3353, allocations: 167 kB / 0.8106 GB, free: 26.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.3353, allocations: 0 / 0.8106 GB, free: 26.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.3353, allocations: 4 kB / 0.8106 GB, free: 26.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.3355, allocations: 57.61 kB / 0.8107 GB, free: 26.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.684e-06/0.3355, allocations: 0 / 0.8107 GB, free: 26.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.3355, allocations: 3.953 kB / 0.8107 GB, free: 26.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.337e-06/0.3356, allocations: 4 kB / 0.8107 GB, free: 26.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000196/0.3358, allocations: 47.94 kB / 0.8107 GB, free: 26.06 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002747/0.3361, allocations: 252.9 kB / 0.811 GB, free: 25.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.3362, allocations: 46.55 kB / 0.811 GB, free: 25.71 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.3363, allocations: 24.91 kB / 0.811 GB, free: 25.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006117/0.337, allocations: 469.3 kB / 0.8115 GB, free: 25.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.337, allocations: 34.52 kB / 0.8115 GB, free: 25.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 2.234e-06/0.337, allocations: 0 / 0.8115 GB, free: 25.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004336/0.3375, allocations: 101.6 kB / 0.8116 GB, free: 24.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.19e-05/0.3375, allocations: 51.41 kB / 0.8117 GB, free: 24.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.671e-05/0.3376, allocations: 110 kB / 0.8118 GB, free: 24.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.3376, allocations: 25.7 kB / 0.8118 GB, free: 24.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.328e-05/0.3376, allocations: 89.25 kB / 0.8119 GB, free: 24.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.3377, allocations: 7.906 kB / 0.8119 GB, free: 24.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-06/0.3377, allocations: 0 / 0.8119 GB, free: 24.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.864e-05/0.3377, allocations: 314.8 kB / 0.8122 GB, free: 24.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.961e-05/0.3378, allocations: 23.98 kB / 0.8122 GB, free: 24.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.981e-05/0.338, allocations: 23.92 kB / 0.8122 GB, free: 24.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.628e-05/0.3381, allocations: 23.98 kB / 0.8122 GB, free: 24.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.318e-06/0.3381, allocations: 0 / 0.8122 GB, free: 24.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002638/0.3383, allocations: 81.72 kB / 0.8123 GB, free: 24.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3384, allocations: 11.89 kB / 0.8123 GB, free: 24.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.355e-06/0.3384, allocations: 256 / 0.8123 GB, free: 24.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.3384, allocations: 0 / 0.8123 GB, free: 24.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.907e-05/0.3385, allocations: 15.98 kB / 0.8123 GB, free: 24.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.827e-06/0.3385, allocations: 32 / 0.8123 GB, free: 24.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.212e-05/0.3386, allocations: 15.98 kB / 0.8124 GB, free: 24.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.98e-06/0.3386, allocations: 0 / 0.8124 GB, free: 24.16 MB / 378.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 () * 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 5.759e-05/0.3387, allocations: 113.8 kB / 0.8125 GB, free: 24.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.388e-05/0.3388, allocations: 3.906 kB / 0.8125 GB, free: 24.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002732/0.3391, allocations: 93.08 kB / 0.8126 GB, free: 23.94 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.26e-06/0.3391, allocations: 0 / 0.8126 GB, free: 23.94 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.764e-06/0.3391, allocations: 0 / 0.8126 GB, free: 23.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.3391, allocations: 4 kB / 0.8126 GB, free: 23.94 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.3393, allocations: 157.7 kB / 0.8127 GB, free: 23.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.047e-06/0.3393, allocations: 0 / 0.8127 GB, free: 23.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.625e-05/0.3394, allocations: 11.98 kB / 0.8127 GB, free: 23.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.451e-06/0.3394, allocations: 4.031 kB / 0.8127 GB, free: 23.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.616e-06/0.3394, allocations: 0 / 0.8127 GB, free: 23.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.021e-06/0.3394, allocations: 7.953 kB / 0.8127 GB, free: 23.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3394, allocations: 0 / 0.8127 GB, free: 23.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002948/0.3397, allocations: 175.5 kB / 0.8129 GB, free: 23.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-05/0.3398, allocations: 81.11 kB / 0.813 GB, free: 23.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.3398, allocations: 0 / 0.813 GB, free: 23.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.3399, allocations: 7.984 kB / 0.813 GB, free: 23.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.34, allocations: 7.953 kB / 0.813 GB, free: 23.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.384e-06/0.34, allocations: 0 / 0.813 GB, free: 23.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.017e-05/0.3401, allocations: 91.2 kB / 0.8131 GB, free: 23.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.16e-07/0.3401, allocations: 4.031 kB / 0.8131 GB, free: 23.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003406/0.3405, allocations: 15.91 kB / 0.8131 GB, free: 23.3 MB / 378.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 () * 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.0001947/0.3407, allocations: 111.2 kB / 0.8132 GB, free: 23.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000265/0.3409, allocations: 51.95 kB / 0.8133 GB, free: 23.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.657e-06/0.341, allocations: 0 / 0.8133 GB, free: 23.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.3411, allocations: 27.92 kB / 0.8133 GB, free: 23.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.3414, allocations: 3.938 kB / 0.8133 GB, free: 23.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003058/0.3417, allocations: 116.8 kB / 0.8134 GB, free: 22.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.3419, allocations: 0.6809 MB / 0.8141 GB, free: 22.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.227e-05/0.3419, allocations: 4.188 kB / 0.8141 GB, free: 22.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.663e-05/0.342, allocations: 7.438 kB / 0.8141 GB, free: 22.24 MB / 378.7 MB Notification: Performance of SimCode: time 1.478e-06/0.342, allocations: 0 / 0.8141 GB, free: 22.24 MB / 378.7 MB Notification: Performance of Templates: time 0.002972/0.345, allocations: 0.6264 MB / 0.8147 GB, free: 21.62 MB / 378.7 MB