Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00159/0.00159, allocations: 191.6 kB / 16.25 MB, free: 6.629 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.426/1.426, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.814/2.814, allocations: 472.6 MB / 0.7448 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001299, allocations: 61.3 kB / 0.9115 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.331, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001952/0.333, allocations: 0.6581 MB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007322/0.3337, allocations: 345 kB / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.444e-05/0.3338, allocations: 0 / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.787e-05/0.3338, allocations: 0 / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.668e-05/0.3338, allocations: 0 / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004909/0.3343, allocations: 107.7 kB / 1.069 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.16e-05/0.3344, allocations: 8 kB / 1.069 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.751e-05/0.3344, allocations: 0 / 1.069 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.262e-05/0.3345, allocations: 4 kB / 1.069 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.113e-05/0.3345, allocations: 7.922 kB / 1.069 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.3346, allocations: 3.938 kB / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003851/0.3349, allocations: 283.6 kB / 1.069 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.226e-05/0.335, allocations: 4 kB / 1.069 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.067e-05/0.335, allocations: 4 kB / 1.069 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.3352, allocations: 95.78 kB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3352, allocations: 0 / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3352, allocations: 0 / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.3352, allocations: 4 kB / 1.069 GB, free: 9.297 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003975/0.3356, allocations: 335.6 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.3357, allocations: 12.03 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.686e-05/0.3358, allocations: 0.9375 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.3359, allocations: 172.5 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.3359, allocations: 4.375 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.3359, allocations: 8.359 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.832e-05/0.336, allocations: 30.27 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.3361, allocations: 192 / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.3361, allocations: 3.938 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.3361, allocations: 0 / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.618e-05/0.3361, allocations: 11.94 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/0.3363, allocations: 153.6 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.303e-05/0.3364, allocations: 26.56 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.772e-05/0.3364, allocations: 8.859 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007482/0.3371, allocations: 457.5 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.3372, allocations: 38.56 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.3372, allocations: 0 / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005606/0.3377, allocations: 254.3 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.3378, allocations: 51.41 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.948e-05/0.3379, allocations: 97.86 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.3379, allocations: 26.05 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.074e-05/0.3379, allocations: 88.08 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.338, allocations: 7.812 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/0.338, allocations: 21.7 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.3381, allocations: 310.8 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.083e-05/0.3382, allocations: 8 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.395e-05/0.3382, allocations: 17.72 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.987e-05/0.3383, allocations: 29.7 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3383, allocations: 0 / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.995e-05/0.3384, allocations: 49.64 kB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.3384, allocations: 7.938 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3384, allocations: 0 / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3384, allocations: 7.984 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.166e-05/0.3385, allocations: 8 kB / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.3385, allocations: 0 / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.206e-05/0.3385, allocations: 12 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.3386, allocations: 4 kB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.923e-05/0.3386, allocations: 109.8 kB / 1.071 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.3387, allocations: 7.875 kB / 1.071 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001528/0.3388, allocations: 57.17 kB / 1.071 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.3388, allocations: 0 / 1.071 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3389, allocations: 0 / 1.071 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.195e-06/0.3389, allocations: 0 / 1.071 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.339, allocations: 153.7 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.339, allocations: 0 / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.764e-05/0.3391, allocations: 8 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/0.3391, allocations: 3.938 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.3391, allocations: 0 / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3391, allocations: 0 / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3391, allocations: 0 / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.3393, allocations: 93.11 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.309e-05/0.3394, allocations: 85.2 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.3394, allocations: 3.938 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.328e-05/0.3395, allocations: 4 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/0.3395, allocations: 0 / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.3395, allocations: 4 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.549e-05/0.3396, allocations: 79.27 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of sort global known variables: time 7.72e-07/0.3396, allocations: 0 / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002454/0.3398, allocations: 24 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0003468/0.3402, allocations: 135.3 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000138/0.3403, allocations: 15.94 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3403, allocations: 0 / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.346e-05/0.3404, allocations: 15.98 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.3406, allocations: 1.547 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003838/0.341, allocations: 113.5 kB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.3414, allocations: 0.6729 MB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.765e-05/0.3414, allocations: 20.03 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.3415, allocations: 7.438 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of SimCode: time 5.31e-07/0.3415, allocations: 0 / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of Templates: time 0.004543/0.346, allocations: 0.873 MB / 1.074 GB, free: 4.078 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)