Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 108 kB / 15.61 MB, free: 152 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.001174/0.001174, allocations: 195.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.826/2.826, allocations: 472.6 MB / 0.7451 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 65.62 kB / 0.912 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3444, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001858/0.3463, allocations: 0.5828 MB / 1.069 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006523/0.347, allocations: 330.8 kB / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.61e-05/0.347, allocations: 0 / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.424e-05/0.347, allocations: 0 / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.398e-06/0.347, allocations: 0 / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004526/0.3475, allocations: 110.9 kB / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.364e-05/0.3475, allocations: 7.984 kB / 1.069 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.686e-05/0.3476, allocations: 7.984 kB / 1.069 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.373e-05/0.3476, allocations: 0 / 1.069 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.066e-05/0.3476, allocations: 0 / 1.069 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.3477, allocations: 0 / 1.069 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003899/0.3481, allocations: 279.6 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.3481, allocations: 0 / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.737e-05/0.3481, allocations: 7.938 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.3483, allocations: 87.78 kB / 1.07 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3483, allocations: 4 kB / 1.07 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3483, allocations: 0 / 1.07 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.3483, allocations: 0 / 1.07 GB, free: 9.051 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002953/0.3486, allocations: 327.6 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.3487, allocations: 12.03 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.103e-05/0.3487, allocations: 0.9375 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.3489, allocations: 166.5 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.3489, allocations: 4.375 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.074e-06/0.3489, allocations: 384 / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.926e-05/0.349, allocations: 30.27 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.349, allocations: 192 / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.349, allocations: 3.938 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.349, allocations: 0 / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.037e-05/0.3491, allocations: 0 / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001452/0.3492, allocations: 157.6 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.637e-05/0.3493, allocations: 18.58 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.816e-05/0.3493, allocations: 8.953 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005279/0.3498, allocations: 421.5 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.3498, allocations: 38.55 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.3499, allocations: 0 / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.000143/0.35, allocations: 45.58 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.3501, allocations: 51.41 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.578e-05/0.3501, allocations: 89.86 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.3501, allocations: 29.69 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.746e-05/0.3501, allocations: 80.14 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/0.3502, allocations: 4 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.713e-05/0.3502, allocations: 9.719 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.996e-05/0.3503, allocations: 314.9 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.008e-05/0.3503, allocations: 4 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.811e-06/0.3503, allocations: 4 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.585e-05/0.3504, allocations: 12.86 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3504, allocations: 0 / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.808e-05/0.3505, allocations: 37.62 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3505, allocations: 4 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3505, allocations: 0 / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.3505, allocations: 3.938 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.434e-05/0.3506, allocations: 8.094 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.3506, allocations: 0 / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.015e-05/0.3506, allocations: 3.938 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.3506, allocations: 0 / 1.071 GB, free: 6.883 MB / 0.8262 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 (1): * Single equations (assignments): 1 * 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 7.726e-05/0.3507, allocations: 110.4 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.3507, allocations: 3.906 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.569e-05/0.3508, allocations: 45.03 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3508, allocations: 4.031 kB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.3508, allocations: 0 / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.3508, allocations: 3.938 kB / 1.072 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.937e-05/0.3509, allocations: 145.7 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3509, allocations: 0 / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.495e-05/0.3509, allocations: 7.984 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.3509, allocations: 0 / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.351, allocations: 7.938 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.351, allocations: 0 / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.351, allocations: 0 / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.918e-05/0.3511, allocations: 57.14 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.3511, allocations: 85.05 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.3511, allocations: 7.922 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.983e-06/0.3511, allocations: 0 / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.427e-05/0.3511, allocations: 0 / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-06/0.3512, allocations: 0 / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.04e-05/0.3512, allocations: 75.28 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3512, allocations: 0 / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002141/0.3514, allocations: 20.03 kB / 1.072 GB, free: 6.219 MB / 0.8262 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 (1): * Single equations (assignments): 1 * 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.0001883/0.3516, allocations: 111.1 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.02e-05/0.3517, allocations: 11.98 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3517, allocations: 0 / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.147e-06/0.3517, allocations: 4 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.3519, allocations: 1.719 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000241/0.3521, allocations: 89.05 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.3524, allocations: 0.6729 MB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.055e-05/0.3524, allocations: 3.984 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.586e-05/0.3524, allocations: 7.438 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3524, allocations: 0 / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of Templates: time 0.003063/0.3555, allocations: 466.2 kB / 1.073 GB, free: 4.805 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)