Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 113.6 kB / 16.42 MB, free: 6.441 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.0013/0.0013, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.245/1.245, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002066/0.002066, allocations: 300 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8865/0.8865, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 99.84 kB / 0.6822 GB, free: 6.895 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3521, allocations: 86.98 MB / 0.7671 GB, free: 3.754 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001594/0.3537, allocations: 0.6096 MB / 0.7677 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006005/0.3543, allocations: 346.7 kB / 0.768 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.316e-05/0.3544, allocations: 3.938 kB / 0.768 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.397e-05/0.3544, allocations: 4 kB / 0.768 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.382e-05/0.3544, allocations: 3.938 kB / 0.768 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.3548, allocations: 121.8 kB / 0.7682 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.265e-05/0.3549, allocations: 19.98 kB / 0.7682 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.112e-05/0.3549, allocations: 0 / 0.7682 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.638e-05/0.355, allocations: 19.92 kB / 0.7682 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.383e-05/0.355, allocations: 3.984 kB / 0.7682 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.355, allocations: 4 kB / 0.7682 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003559/0.3554, allocations: 287.6 kB / 0.7685 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.38e-05/0.3554, allocations: 7.938 kB / 0.7685 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.468e-05/0.3555, allocations: 15.91 kB / 0.7685 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.3556, allocations: 99.78 kB / 0.7686 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3556, allocations: 3.938 kB / 0.7686 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3556, allocations: 0 / 0.7686 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.3557, allocations: 0 / 0.7686 GB, free: 2.227 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004078/0.3561, allocations: 363.1 kB / 0.7689 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3561, allocations: 8.031 kB / 0.769 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.991e-05/0.3562, allocations: 8.938 kB / 0.769 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.3563, allocations: 160.4 kB / 0.7691 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.3563, allocations: 8.375 kB / 0.7691 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.3563, allocations: 4.375 kB / 0.7691 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.3565, allocations: 54.22 kB / 0.7692 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3565, allocations: 4.094 kB / 0.7692 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.3565, allocations: 7.938 kB / 0.7692 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.3565, allocations: 3.984 kB / 0.7692 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.944e-05/0.3566, allocations: 23.92 kB / 0.7692 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.3567, allocations: 168.2 kB / 0.7694 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.3569, allocations: 58.56 kB / 0.7694 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.936e-05/0.3569, allocations: 28.84 kB / 0.7695 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006436/0.3576, allocations: 461.5 kB / 0.7699 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.3576, allocations: 34.5 kB / 0.7699 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.3576, allocations: 0 / 0.7699 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.00116/0.3588, allocations: 0.5956 MB / 0.7705 GB, free: 15.92 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/0.3588, allocations: 59.34 kB / 0.7706 GB, free: 15.85 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.858e-05/0.3589, allocations: 89.86 kB / 0.7707 GB, free: 15.75 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.3589, allocations: 33.7 kB / 0.7707 GB, free: 15.71 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.002e-05/0.3589, allocations: 80.14 kB / 0.7708 GB, free: 15.63 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.359, allocations: 39.39 kB / 0.7708 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.359, allocations: 29.7 kB / 0.7708 GB, free: 15.56 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.3591, allocations: 322.8 kB / 0.7711 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.049e-05/0.3592, allocations: 19.98 kB / 0.7712 GB, free: 15.21 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.425e-05/0.3592, allocations: 19.98 kB / 0.7712 GB, free: 15.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.48e-05/0.3593, allocations: 55.48 kB / 0.7712 GB, free: 15.14 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3593, allocations: 0 / 0.7712 GB, free: 15.14 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001546/0.3595, allocations: 105.5 kB / 0.7713 GB, free: 15.03 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.3595, allocations: 8 kB / 0.7713 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.3595, allocations: 0 / 0.7713 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3595, allocations: 3.984 kB / 0.7713 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.588e-05/0.3596, allocations: 16 kB / 0.7714 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.3596, allocations: 8 kB / 0.7714 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.227e-05/0.3596, allocations: 0 / 0.7714 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.3597, allocations: 8 kB / 0.7714 GB, free: 14.99 MB / 0.545 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 (13): * Single equations (assignments): 13 * 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 6.91e-05/0.3597, allocations: 116.2 kB / 0.7715 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.95e-05/0.3598, allocations: 11.84 kB / 0.7715 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001832/0.36, allocations: 109.5 kB / 0.7716 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.36, allocations: 0 / 0.7716 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.36, allocations: 0 / 0.7716 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.677e-05/0.36, allocations: 89.09 kB / 0.7717 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.3601, allocations: 7.984 kB / 0.7717 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.245e-05/0.3601, allocations: 4 kB / 0.7717 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.674e-05/0.3601, allocations: 4 kB / 0.7717 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002166/0.3604, allocations: 184.7 kB / 0.7719 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002673/0.3606, allocations: 290.9 kB / 0.7722 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.132e-05/0.3607, allocations: 32.08 kB / 0.7722 GB, free: 14.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.356e-05/0.3607, allocations: 95.25 kB / 0.7723 GB, free: 14 MB / 0.545 GB Notification: Performance of Backend: time 5.41e-07/0.3607, allocations: 0 / 0.7723 GB, free: 14 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000488/0.3612, allocations: 158.3 kB / 0.7724 GB, free: 13.84 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003989/0.3616, allocations: 0.6048 MB / 0.773 GB, free: 13.19 MB / 0.545 GB Notification: Performance of Templates: time 0.003732/0.3654, allocations: 1.617 MB / 0.7746 GB, free: 11.61 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)