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.007664/0.007664, allocations: 98.38 kB / 15.73 MB, free: 6.012 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.001723/0.001723, allocations: 193.3 kB / 16.67 MB, free: 5.949 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002108/0.002108, allocations: 294.5 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.958/0.958, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 95.86 kB / 0.6815 GB, free: 15.43 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1555, allocations: 86.97 MB / 0.7664 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001687/0.1572, allocations: 0.5929 MB / 0.767 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006817/0.1579, allocations: 350.7 kB / 0.7673 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.264e-05/0.1579, allocations: 0 / 0.7673 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.337e-05/0.158, allocations: 0 / 0.7673 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.178e-05/0.158, allocations: 0 / 0.7673 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004841/0.1585, allocations: 115.6 kB / 0.7675 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.811e-05/0.1585, allocations: 11.98 kB / 0.7675 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.043e-05/0.1586, allocations: 8 kB / 0.7675 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.545e-05/0.1586, allocations: 4 kB / 0.7675 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.272e-05/0.1587, allocations: 4 kB / 0.7675 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.1587, allocations: 3.984 kB / 0.7675 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000378/0.1591, allocations: 279.6 kB / 0.7678 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/0.1591, allocations: 0 / 0.7678 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.672e-05/0.1591, allocations: 4 kB / 0.7678 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.1593, allocations: 99.66 kB / 0.7679 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.1593, allocations: 0 / 0.7679 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1593, allocations: 0 / 0.7679 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.1593, allocations: 0 / 0.7679 GB, free: 6.926 MB / 0.5606 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.0003506/0.1597, allocations: 347.3 kB / 0.7682 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1597, allocations: 8.031 kB / 0.7682 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.765e-05/0.1598, allocations: 8.875 kB / 0.7682 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.1599, allocations: 168.3 kB / 0.7684 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-06/0.1599, allocations: 384 / 0.7684 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.16, allocations: 384 / 0.7684 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.689e-05/0.16, allocations: 38.19 kB / 0.7684 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.1601, allocations: 4.188 kB / 0.7684 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.1601, allocations: 3.938 kB / 0.7684 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1601, allocations: 4 kB / 0.7684 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.169e-05/0.1601, allocations: 4 kB / 0.7684 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002031/0.1603, allocations: 149.7 kB / 0.7686 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.068e-05/0.1604, allocations: 22.61 kB / 0.7686 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.415e-05/0.1604, allocations: 20.84 kB / 0.7686 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006725/0.1611, allocations: 457.5 kB / 0.769 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.1611, allocations: 34.56 kB / 0.7691 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1611, allocations: 0 / 0.7691 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0004745/0.1616, allocations: 254.5 kB / 0.7693 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.1617, allocations: 51.41 kB / 0.7694 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.134e-05/0.1617, allocations: 101.8 kB / 0.7695 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.1618, allocations: 25.7 kB / 0.7695 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.548e-05/0.1618, allocations: 80.14 kB / 0.7696 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.1618, allocations: 7.953 kB / 0.7696 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.1618, allocations: 17.72 kB / 0.7696 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.599e-05/0.1619, allocations: 319 kB / 0.7699 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.162, allocations: 11.94 kB / 0.7699 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.578e-05/0.162, allocations: 13.72 kB / 0.7699 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.335e-05/0.162, allocations: 25.66 kB / 0.7699 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1621, allocations: 4 kB / 0.7699 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.666e-05/0.1622, allocations: 53.64 kB / 0.77 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1622, allocations: 12 kB / 0.77 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1622, allocations: 0 / 0.77 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1622, allocations: 3.938 kB / 0.77 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.892e-05/0.1623, allocations: 11.98 kB / 0.77 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.1623, allocations: 0 / 0.77 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.958e-05/0.1623, allocations: 4 kB / 0.77 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.1623, allocations: 4 kB / 0.77 GB, free: 4.328 MB / 0.5606 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.445e-05/0.1624, allocations: 106.5 kB / 0.7701 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.1624, allocations: 3.938 kB / 0.7701 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.1625, allocations: 61.12 kB / 0.7702 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1626, allocations: 4 kB / 0.7702 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1626, allocations: 7.922 kB / 0.7702 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1626, allocations: 0 / 0.7702 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.362e-05/0.1627, allocations: 153.7 kB / 0.7703 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1627, allocations: 0 / 0.7703 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.975e-05/0.1627, allocations: 4 kB / 0.7703 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1627, allocations: 4.125 kB / 0.7703 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-06/0.1628, allocations: 4 kB / 0.7704 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.1628, allocations: 4 kB / 0.7704 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1628, allocations: 0 / 0.7704 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.1629, allocations: 77.11 kB / 0.7704 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.309e-05/0.163, allocations: 81.09 kB / 0.7705 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.163, allocations: 3.938 kB / 0.7705 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.877e-05/0.163, allocations: 8.031 kB / 0.7705 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.156e-05/0.163, allocations: 0 / 0.7705 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.163, allocations: 4.062 kB / 0.7705 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.19e-05/0.1631, allocations: 83.22 kB / 0.7706 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1631, allocations: 0 / 0.7706 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002102/0.1633, allocations: 27.92 kB / 0.7706 GB, free: 3.602 MB / 0.5606 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.0001932/0.1635, allocations: 131.1 kB / 0.7708 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.893e-05/0.1636, allocations: 15.98 kB / 0.7708 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1636, allocations: 0 / 0.7708 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.88e-05/0.1636, allocations: 16.16 kB / 0.7708 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.1638, allocations: 4 kB / 0.7708 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002202/0.164, allocations: 113.5 kB / 0.7709 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.1643, allocations: 0.6767 MB / 0.7716 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.859e-05/0.1643, allocations: 0 / 0.7716 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.874e-05/0.1644, allocations: 11.44 kB / 0.7716 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.1644, allocations: 0 / 0.7716 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of Templates: time 0.002948/0.1673, allocations: 0.8845 MB / 0.7724 GB, free: 1.719 MB / 0.5606 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)