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.001253/0.001253, allocations: 108 kB / 16.41 MB, free: 6.453 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.00119/0.00119, allocations: 189.2 kB / 17.34 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.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002528/0.002528, allocations: 292.4 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.9929/0.9929, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002796/0.002796, allocations: 91.86 kB / 0.6822 GB, free: 6.914 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4254/0.4282, allocations: 86.99 MB / 0.7671 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0016/0.4298, allocations: 0.5863 MB / 0.7677 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006749/0.4305, allocations: 354.7 kB / 0.768 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.007e-05/0.4305, allocations: 0 / 0.768 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.306e-05/0.4305, allocations: 0 / 0.768 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 1.644e-05/0.4305, allocations: 4 kB / 0.768 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004356/0.431, allocations: 111.6 kB / 0.7681 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.662e-05/0.431, allocations: 7.938 kB / 0.7681 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.882e-05/0.4311, allocations: 4 kB / 0.7681 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.676e-05/0.4311, allocations: 4 kB / 0.7681 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.667e-05/0.4311, allocations: 7.984 kB / 0.7681 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.4311, allocations: 0 / 0.7681 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003858/0.4315, allocations: 279.7 kB / 0.7684 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.4315, allocations: 7.969 kB / 0.7684 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.12e-05/0.4316, allocations: 7.938 kB / 0.7684 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.4317, allocations: 85.91 kB / 0.7685 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.4317, allocations: 0 / 0.7685 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4317, allocations: 0 / 0.7685 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.4317, allocations: 0 / 0.7685 GB, free: 2.48 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.0003928/0.4321, allocations: 350.8 kB / 0.7688 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.4322, allocations: 8.031 kB / 0.7689 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.121e-05/0.4322, allocations: 8.875 kB / 0.7689 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.4324, allocations: 164.4 kB / 0.769 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.4324, allocations: 384 / 0.769 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.4324, allocations: 8.375 kB / 0.769 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.4326, allocations: 38.19 kB / 0.7691 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.4326, allocations: 192 / 0.7691 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.4326, allocations: 3.938 kB / 0.7691 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.4326, allocations: 3.984 kB / 0.7691 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.782e-05/0.4326, allocations: 0 / 0.7691 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00017/0.4328, allocations: 157.7 kB / 0.7692 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.222e-05/0.4328, allocations: 18.61 kB / 0.7692 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.127e-05/0.4329, allocations: 12.92 kB / 0.7693 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007778/0.4336, allocations: 465.4 kB / 0.7697 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.4337, allocations: 38.5 kB / 0.7697 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.4337, allocations: 0 / 0.7697 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004986/0.4342, allocations: 254.3 kB / 0.77 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.4342, allocations: 51.62 kB / 0.77 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.719e-05/0.4343, allocations: 97.86 kB / 0.7701 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.4343, allocations: 25.7 kB / 0.7701 GB, free: 488 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.983e-05/0.4344, allocations: 84.14 kB / 0.7702 GB, free: 400 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.4344, allocations: 15.88 kB / 0.7702 GB, free: 384 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.4344, allocations: 21.66 kB / 0.7703 GB, free: 356 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.4346, allocations: 310.8 kB / 0.7706 GB, free: 36 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.829e-05/0.4346, allocations: 4 kB / 0.7706 GB, free: 32 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.635e-05/0.4346, allocations: 25.83 kB / 0.7706 GB, free: 0 / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.023e-05/0.4347, allocations: 25.66 kB / 0.7706 GB, free: 15.97 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.4347, allocations: 0 / 0.7706 GB, free: 15.97 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001028/0.4348, allocations: 53.64 kB / 0.7707 GB, free: 15.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.4348, allocations: 11.94 kB / 0.7707 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.4348, allocations: 0 / 0.7707 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.4348, allocations: 0 / 0.7707 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.104e-05/0.4349, allocations: 16 kB / 0.7707 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.4349, allocations: 0 / 0.7707 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.748e-05/0.4349, allocations: 0 / 0.7707 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.4349, allocations: 7.938 kB / 0.7707 GB, free: 15.88 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 7.721e-05/0.435, allocations: 109.8 kB / 0.7708 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.435, allocations: 7.922 kB / 0.7708 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.4351, allocations: 49.19 kB / 0.7709 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.4351, allocations: 8 kB / 0.7709 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.4351, allocations: 0 / 0.7709 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.4351, allocations: 0 / 0.7709 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.4352, allocations: 153.7 kB / 0.771 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.4352, allocations: 0 / 0.771 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.909e-05/0.4353, allocations: 7.938 kB / 0.771 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.4353, allocations: 3.938 kB / 0.771 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.4353, allocations: 3.984 kB / 0.771 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4353, allocations: 0 / 0.771 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.4353, allocations: 4 kB / 0.771 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.4355, allocations: 77.12 kB / 0.7711 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.103e-05/0.4355, allocations: 77.11 kB / 0.7712 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.4355, allocations: 3.938 kB / 0.7712 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.974e-05/0.4356, allocations: 4.031 kB / 0.7712 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.493e-05/0.4356, allocations: 4.219 kB / 0.7712 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.4356, allocations: 0 / 0.7712 GB, free: 15.27 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.258e-05/0.4356, allocations: 83.28 kB / 0.7713 GB, free: 15.19 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.4356, allocations: 160 / 0.7713 GB, free: 15.19 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002117/0.4358, allocations: 27.94 kB / 0.7713 GB, free: 15.16 MB / 0.545 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.000203/0.436, allocations: 131.1 kB / 0.7714 GB, free: 15.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.215e-05/0.4361, allocations: 23.91 kB / 0.7714 GB, free: 15 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4361, allocations: 0 / 0.7714 GB, free: 15 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.86e-05/0.4361, allocations: 8 kB / 0.7714 GB, free: 14.99 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.4363, allocations: 0.9375 kB / 0.7714 GB, free: 14.99 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002388/0.4365, allocations: 119.6 kB / 0.7716 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.4369, allocations: 0.6768 MB / 0.7722 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.62e-05/0.4369, allocations: 4 kB / 0.7722 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.935e-05/0.437, allocations: 15.44 kB / 0.7722 GB, free: 14.12 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.437, allocations: 0 / 0.7722 GB, free: 14.12 MB / 0.545 GB Notification: Performance of Templates: time 0.00332/0.4403, allocations: 0.8786 MB / 0.7731 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)