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.001354/0.001354, allocations: 116 kB / 16.42 MB, free: 6.488 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.001188/0.001188, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.244/1.244, allocations: 222.9 MB / 241.1 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.002047/0.002047, allocations: 286.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8718/0.8718, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 103.8 kB / 0.6822 GB, free: 6.879 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3679, allocations: 86.97 MB / 0.7671 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001529/0.3695, allocations: 0.5901 MB / 0.7677 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005831/0.3701, allocations: 342.7 kB / 0.768 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.892e-05/0.3701, allocations: 0 / 0.768 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.59e-05/0.3702, allocations: 0 / 0.768 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 1.572e-05/0.3702, allocations: 4 kB / 0.768 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000404/0.3706, allocations: 118.4 kB / 0.7681 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.324e-05/0.3707, allocations: 11.92 kB / 0.7681 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.609e-05/0.3707, allocations: 4 kB / 0.7681 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.545e-05/0.3707, allocations: 4 kB / 0.7681 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.279e-05/0.3708, allocations: 7.984 kB / 0.7681 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.3708, allocations: 4 kB / 0.7681 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003604/0.3712, allocations: 271.7 kB / 0.7684 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.24e-05/0.3712, allocations: 7.984 kB / 0.7684 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.056e-05/0.3712, allocations: 3.938 kB / 0.7684 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.3714, allocations: 91.84 kB / 0.7685 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.3714, allocations: 0 / 0.7685 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3714, allocations: 0 / 0.7685 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.3714, allocations: 0 / 0.7685 GB, free: 2.441 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.0003269/0.3717, allocations: 347.2 kB / 0.7688 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.3718, allocations: 8.031 kB / 0.7688 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.995e-05/0.3718, allocations: 4.875 kB / 0.7689 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.3719, allocations: 168.3 kB / 0.769 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-06/0.372, allocations: 4.375 kB / 0.769 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.372, allocations: 384 / 0.769 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.445e-05/0.3721, allocations: 42.2 kB / 0.7691 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.3721, allocations: 192 / 0.7691 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.3721, allocations: 7.938 kB / 0.7691 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-06/0.3721, allocations: 0 / 0.7691 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.344e-05/0.3721, allocations: 7.984 kB / 0.7691 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001431/0.3723, allocations: 149.7 kB / 0.7692 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.917e-05/0.3723, allocations: 22.59 kB / 0.7692 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.616e-05/0.3723, allocations: 8.922 kB / 0.7692 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006952/0.373, allocations: 461.5 kB / 0.7697 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.3731, allocations: 42.48 kB / 0.7697 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.3731, allocations: 0 / 0.7697 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.000465/0.3736, allocations: 254.3 kB / 0.77 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.123e-05/0.3736, allocations: 55.34 kB / 0.77 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.324e-05/0.3736, allocations: 97.86 kB / 0.7701 GB, free: 480 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.3737, allocations: 25.7 kB / 0.7701 GB, free: 448 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.576e-05/0.3737, allocations: 80.14 kB / 0.7702 GB, free: 364 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.3737, allocations: 11.81 kB / 0.7702 GB, free: 352 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.3738, allocations: 22.05 kB / 0.7702 GB, free: 324 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.3739, allocations: 318.9 kB / 0.7706 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.557e-05/0.3739, allocations: 0 / 0.7706 GB, free: 15.99 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.182e-05/0.3739, allocations: 17.72 kB / 0.7706 GB, free: 15.97 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.362e-05/0.374, allocations: 29.59 kB / 0.7706 GB, free: 15.94 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.374, allocations: 0 / 0.7706 GB, free: 15.94 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.131e-05/0.3741, allocations: 53.7 kB / 0.7706 GB, free: 15.88 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.3741, allocations: 10.64 kB / 0.7707 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3741, allocations: 7.938 kB / 0.7707 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3741, allocations: 0 / 0.7707 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.377e-05/0.3742, allocations: 7.938 kB / 0.7707 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.3742, allocations: 4 kB / 0.7707 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.925e-05/0.3742, allocations: 0 / 0.7707 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.3742, allocations: 3.938 kB / 0.7707 GB, free: 15.85 MB / 0.545 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 6.925e-05/0.3743, allocations: 114.8 kB / 0.7708 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.3743, allocations: 4 kB / 0.7708 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.3745, allocations: 61.11 kB / 0.7709 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3745, allocations: 0 / 0.7709 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3745, allocations: 0 / 0.7709 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.975e-05/0.3745, allocations: 81.02 kB / 0.7709 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.3745, allocations: 4 kB / 0.7709 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.038e-05/0.3746, allocations: 0 / 0.7709 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.514e-05/0.3746, allocations: 3.938 kB / 0.7709 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001302/0.3747, allocations: 129 kB / 0.7711 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001842/0.3749, allocations: 226.8 kB / 0.7713 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.665e-05/0.375, allocations: 15.95 kB / 0.7713 GB, free: 15.17 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.548e-05/0.375, allocations: 75.28 kB / 0.7714 GB, free: 15.09 MB / 0.545 GB Notification: Performance of Backend: time 2.71e-07/0.375, allocations: 0 / 0.7714 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004279/0.3754, allocations: 130.5 kB / 0.7715 GB, free: 14.96 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003338/0.3758, allocations: 0.5574 MB / 0.772 GB, free: 14.35 MB / 0.545 GB Notification: Performance of Templates: time 0.003181/0.379, allocations: 1.273 MB / 0.7733 GB, free: 13.11 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)