Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001188/0.001188, allocations: 109 kB / 16.42 MB, free: 6.512 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.001183/0.001183, allocations: 188.3 kB / 17.35 MB, free: 5.738 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.239/1.239, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002049/0.002049, allocations: 285.7 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8876/0.8876, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 99.83 kB / 0.6822 GB, free: 6.902 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3568, allocations: 86.97 MB / 0.7671 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001565/0.3584, allocations: 0.601 MB / 0.7677 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005857/0.359, allocations: 350.7 kB / 0.768 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.82e-05/0.359, allocations: 0 / 0.768 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.058e-05/0.359, allocations: 0 / 0.768 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.088e-05/0.3591, allocations: 0 / 0.768 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004273/0.3595, allocations: 113.6 kB / 0.7681 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.207e-05/0.3596, allocations: 8 kB / 0.7681 GB, free: 3 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.278e-05/0.3596, allocations: 8 kB / 0.7681 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.514e-05/0.3596, allocations: 3.984 kB / 0.7681 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.481e-05/0.3597, allocations: 7.984 kB / 0.7682 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.3597, allocations: 3.938 kB / 0.7682 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003496/0.36, allocations: 279.6 kB / 0.7684 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.013e-05/0.36, allocations: 0 / 0.7684 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.153e-05/0.3601, allocations: 8 kB / 0.7684 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.3602, allocations: 91.78 kB / 0.7685 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.3602, allocations: 0 / 0.7685 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3603, allocations: 0 / 0.7685 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.3603, allocations: 0 / 0.7685 GB, free: 2.605 MB / 0.5294 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.0003153/0.3606, allocations: 351.4 kB / 0.7689 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.3606, allocations: 8.031 kB / 0.7689 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.759e-05/0.3607, allocations: 4.938 kB / 0.7689 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.75e-05/0.3608, allocations: 164.3 kB / 0.769 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.3608, allocations: 384 / 0.769 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.3608, allocations: 384 / 0.769 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.195e-05/0.3609, allocations: 38.19 kB / 0.7691 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.3609, allocations: 192 / 0.7691 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.3609, allocations: 15.94 kB / 0.7691 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3609, allocations: 0 / 0.7691 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.747e-05/0.361, allocations: 3.938 kB / 0.7691 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001508/0.3611, allocations: 149.7 kB / 0.7692 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.176e-05/0.3612, allocations: 22.61 kB / 0.7692 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.551e-05/0.3612, allocations: 8.922 kB / 0.7693 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006716/0.3619, allocations: 461.5 kB / 0.7697 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.3619, allocations: 38.5 kB / 0.7697 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.183e-06/0.3619, allocations: 0 / 0.7697 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004465/0.3624, allocations: 254.3 kB / 0.77 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.3624, allocations: 51.41 kB / 0.77 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.802e-05/0.3625, allocations: 97.86 kB / 0.7701 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.3625, allocations: 25.7 kB / 0.7701 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.584e-05/0.3625, allocations: 84.12 kB / 0.7702 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.3625, allocations: 11.81 kB / 0.7702 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.107e-05/0.3626, allocations: 22.06 kB / 0.7703 GB, free: 500 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.371e-05/0.3627, allocations: 314.8 kB / 0.7706 GB, free: 176 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.876e-05/0.3627, allocations: 11.98 kB / 0.7706 GB, free: 164 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.23e-05/0.3627, allocations: 13.72 kB / 0.7706 GB, free: 144 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.043e-05/0.3628, allocations: 25.66 kB / 0.7706 GB, free: 112 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3628, allocations: 0 / 0.7706 GB, free: 112 kB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.76e-05/0.3629, allocations: 53.69 kB / 0.7707 GB, free: 52 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.3629, allocations: 8 kB / 0.7707 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3629, allocations: 3.938 kB / 0.7707 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.3629, allocations: 0 / 0.7707 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.608e-05/0.363, allocations: 11.94 kB / 0.7707 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.363, allocations: 0 / 0.7707 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.954e-05/0.363, allocations: 4 kB / 0.7707 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.363, allocations: 4 kB / 0.7707 GB, free: 20 kB / 0.5294 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.458e-05/0.3631, allocations: 109.9 kB / 0.7708 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.3631, allocations: 4 kB / 0.7708 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.3632, allocations: 59.66 kB / 0.7708 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3632, allocations: 4 kB / 0.7709 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3632, allocations: 0 / 0.7709 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.516e-05/0.3633, allocations: 81.02 kB / 0.7709 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.3633, allocations: 3.984 kB / 0.7709 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.972e-05/0.3633, allocations: 4 kB / 0.7709 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.283e-05/0.3634, allocations: 7.938 kB / 0.7709 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001221/0.3635, allocations: 125 kB / 0.7711 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001725/0.3637, allocations: 230.7 kB / 0.7713 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.311e-05/0.3637, allocations: 11.97 kB / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.141e-05/0.3637, allocations: 79.28 kB / 0.7714 GB, free: 15.26 MB / 0.545 GB Notification: Performance of Backend: time 3.5e-07/0.3638, allocations: 0 / 0.7714 GB, free: 15.26 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004144/0.3642, allocations: 131.5 kB / 0.7715 GB, free: 15.12 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003394/0.3645, allocations: 0.5535 MB / 0.772 GB, free: 14.52 MB / 0.545 GB Notification: Performance of Templates: time 0.003125/0.3677, allocations: 1.273 MB / 0.7733 GB, free: 13.28 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)