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.004056/0.004056, allocations: 104.7 kB / 15.74 MB, free: 6.492 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.0009928/0.0009928, allocations: 190.1 kB / 16.67 MB, free: 6.379 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.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002033/0.002033, allocations: 271 kB / 290.8 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9498/0.9498, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 96.17 kB / 0.6815 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.148, allocations: 86.98 MB / 0.7664 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001525/0.1496, allocations: 0.5933 MB / 0.767 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005749/0.1502, allocations: 342.7 kB / 0.7673 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.006e-05/0.1502, allocations: 0 / 0.7673 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.293e-05/0.1502, allocations: 0 / 0.7673 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 1.704e-05/0.1503, allocations: 7.938 kB / 0.7673 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003989/0.1507, allocations: 115.1 kB / 0.7675 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.921e-05/0.1507, allocations: 4 kB / 0.7675 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.914e-05/0.1508, allocations: 7.984 kB / 0.7675 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.39e-05/0.1508, allocations: 0 / 0.7675 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.644e-05/0.1508, allocations: 11.98 kB / 0.7675 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.1509, allocations: 0 / 0.7675 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003658/0.1512, allocations: 267.7 kB / 0.7677 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/0.1513, allocations: 15.92 kB / 0.7677 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.771e-05/0.1513, allocations: 4 kB / 0.7678 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.1514, allocations: 103.7 kB / 0.7679 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1515, allocations: 0 / 0.7679 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1515, allocations: 0 / 0.7679 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.1515, allocations: 0 / 0.7679 GB, free: 6.949 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.0002999/0.1518, allocations: 347.4 kB / 0.7682 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.1518, allocations: 12.02 kB / 0.7682 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.942e-05/0.1519, allocations: 4.938 kB / 0.7682 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.667e-05/0.152, allocations: 164.4 kB / 0.7684 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-06/0.152, allocations: 384 / 0.7684 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.152, allocations: 384 / 0.7684 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.847e-05/0.1521, allocations: 42.25 kB / 0.7684 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.1521, allocations: 192 / 0.7684 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.1521, allocations: 3.938 kB / 0.7684 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.1521, allocations: 0 / 0.7684 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.072e-05/0.1522, allocations: 0 / 0.7684 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001407/0.1523, allocations: 161.6 kB / 0.7686 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.015e-05/0.1523, allocations: 22.61 kB / 0.7686 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.6e-05/0.1524, allocations: 12.92 kB / 0.7686 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006586/0.153, allocations: 465.5 kB / 0.769 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.1531, allocations: 34.56 kB / 0.7691 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1531, allocations: 0 / 0.7691 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0004492/0.1535, allocations: 250.2 kB / 0.7693 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.1536, allocations: 55.41 kB / 0.7694 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.303e-05/0.1536, allocations: 98.08 kB / 0.7695 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.1536, allocations: 25.7 kB / 0.7695 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.912e-05/0.1537, allocations: 84.14 kB / 0.7696 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.1537, allocations: 11.89 kB / 0.7696 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.1537, allocations: 13.72 kB / 0.7696 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.613e-05/0.1538, allocations: 310.8 kB / 0.7699 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.073e-05/0.1538, allocations: 11.94 kB / 0.7699 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.709e-05/0.1539, allocations: 21.77 kB / 0.7699 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.531e-05/0.1539, allocations: 29.72 kB / 0.7699 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1539, allocations: 0 / 0.7699 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.507e-05/0.154, allocations: 57.62 kB / 0.77 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.1541, allocations: 7.938 kB / 0.77 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.1541, allocations: 0 / 0.77 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.1541, allocations: 0 / 0.77 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.269e-05/0.1541, allocations: 8 kB / 0.77 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1541, allocations: 4.062 kB / 0.77 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.738e-05/0.1542, allocations: 0 / 0.77 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.1542, allocations: 4 kB / 0.77 GB, free: 4.359 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 5.948e-05/0.1542, allocations: 106.5 kB / 0.7701 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.1543, allocations: 19.77 kB / 0.7701 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.1544, allocations: 61.06 kB / 0.7702 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.1544, allocations: 0 / 0.7702 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1544, allocations: 4 kB / 0.7702 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1544, allocations: 0 / 0.7702 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.638e-05/0.1545, allocations: 157.7 kB / 0.7703 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1545, allocations: 0 / 0.7703 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.885e-05/0.1546, allocations: 4 kB / 0.7704 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.1546, allocations: 3.938 kB / 0.7704 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.1546, allocations: 4 kB / 0.7704 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1546, allocations: 3.984 kB / 0.7704 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1546, allocations: 0 / 0.7704 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.1548, allocations: 81.06 kB / 0.7704 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.238e-05/0.1548, allocations: 77.11 kB / 0.7705 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.1548, allocations: 3.938 kB / 0.7705 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.519e-05/0.1549, allocations: 4.031 kB / 0.7705 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.772e-05/0.1549, allocations: 3.984 kB / 0.7705 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.1549, allocations: 0 / 0.7705 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.904e-05/0.1549, allocations: 79.28 kB / 0.7706 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1549, allocations: 0 / 0.7706 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002105/0.1551, allocations: 32.16 kB / 0.7706 GB, free: 3.625 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.0001864/0.1553, allocations: 119.2 kB / 0.7707 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.848e-05/0.1554, allocations: 24.09 kB / 0.7708 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.1554, allocations: 4 kB / 0.7708 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-05/0.1555, allocations: 7.984 kB / 0.7708 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.1556, allocations: 4 kB / 0.7708 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002321/0.1558, allocations: 113.8 kB / 0.7709 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.1561, allocations: 0.6808 MB / 0.7716 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.886e-05/0.1561, allocations: 3.938 kB / 0.7716 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.735e-05/0.1561, allocations: 11.44 kB / 0.7716 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.1561, allocations: 0 / 0.7716 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of Templates: time 0.002735/0.1589, allocations: 0.8883 MB / 0.7724 GB, free: 1.742 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)