Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001205/0.001204, allocations: 107.6 kB / 16.27 MB, free: 5.984 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.001382/0.001381, allocations: 191 kB / 17.2 MB, free: 5.613 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.403/1.403, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7804/0.7804, allocations: 122.9 MB / 413.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 59.91 kB / 0.4911 GB, free: 7.391 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4364/0.4385, allocations: 77.93 MB / 0.5672 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002225/0.4407, allocations: 0.5891 MB / 0.5678 GB, free: 32.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008819/0.4416, allocations: 349.5 kB / 0.5681 GB, free: 32.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.966e-05/0.4417, allocations: 1.125 kB / 0.5681 GB, free: 32.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.583e-05/0.4417, allocations: 0 / 0.5681 GB, free: 32.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.048e-05/0.4418, allocations: 0 / 0.5681 GB, free: 32.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006177/0.4424, allocations: 119.1 kB / 0.5683 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.609e-05/0.4425, allocations: 6.672 kB / 0.5683 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.544e-05/0.4425, allocations: 1.891 kB / 0.5683 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.912e-05/0.4425, allocations: 7.5 kB / 0.5683 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.942e-05/0.4426, allocations: 7.031 kB / 0.5683 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.4426, allocations: 1.312 kB / 0.5683 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005251/0.4432, allocations: 278.1 kB / 0.5685 GB, free: 32.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.4432, allocations: 0.9375 kB / 0.5685 GB, free: 32.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.763e-05/0.4432, allocations: 9.281 kB / 0.5686 GB, free: 32.01 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002547/0.4435, allocations: 90.55 kB / 0.5686 GB, free: 31.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4435, allocations: 0 / 0.5686 GB, free: 31.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.4435, allocations: 5.281 kB / 0.5686 GB, free: 31.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.4435, allocations: 0 / 0.5686 GB, free: 31.98 MB / 446.1 MB 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.0004501/0.444, allocations: 341 kB / 0.569 GB, free: 31.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.444, allocations: 10.5 kB / 0.569 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.988e-05/0.4441, allocations: 6.906 kB / 0.569 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.4442, allocations: 165.6 kB / 0.5691 GB, free: 31.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.4443, allocations: 384 / 0.5691 GB, free: 31.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.4443, allocations: 2.5 kB / 0.5691 GB, free: 31.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.4444, allocations: 41.78 kB / 0.5692 GB, free: 31.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.4444, allocations: 1.375 kB / 0.5692 GB, free: 31.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.4445, allocations: 11.86 kB / 0.5692 GB, free: 31.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.4445, allocations: 1.5 kB / 0.5692 GB, free: 31.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.652e-05/0.4445, allocations: 2.625 kB / 0.5692 GB, free: 31.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.4447, allocations: 157.6 kB / 0.5694 GB, free: 31.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.372e-05/0.4447, allocations: 21.72 kB / 0.5694 GB, free: 31.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.088e-05/0.4448, allocations: 8.578 kB / 0.5694 GB, free: 31.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006936/0.4455, allocations: 462.6 kB / 0.5698 GB, free: 30.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.4455, allocations: 31.78 kB / 0.5699 GB, free: 30.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.4455, allocations: 3.938 kB / 0.5699 GB, free: 30.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005439/0.4461, allocations: 253.2 kB / 0.5701 GB, free: 30.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.4461, allocations: 57.94 kB / 0.5702 GB, free: 30.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.93e-05/0.4461, allocations: 94.58 kB / 0.5702 GB, free: 30.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/0.4462, allocations: 25.7 kB / 0.5703 GB, free: 30.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.947e-05/0.4462, allocations: 83.59 kB / 0.5703 GB, free: 30.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.4462, allocations: 12.88 kB / 0.5704 GB, free: 30.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.4463, allocations: 15.11 kB / 0.5704 GB, free: 30.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.375e-05/0.4463, allocations: 317.5 kB / 0.5707 GB, free: 29.74 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.174e-05/0.4464, allocations: 5.891 kB / 0.5707 GB, free: 29.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.67e-05/0.4464, allocations: 17.11 kB / 0.5707 GB, free: 29.72 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.696e-05/0.4464, allocations: 33.95 kB / 0.5707 GB, free: 29.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.4464, allocations: 0 / 0.5707 GB, free: 29.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.185e-05/0.4465, allocations: 50.14 kB / 0.5708 GB, free: 29.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.4466, allocations: 9.406 kB / 0.5708 GB, free: 29.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.4466, allocations: 5.094 kB / 0.5708 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.4466, allocations: 1.094 kB / 0.5708 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.077e-05/0.4467, allocations: 6.547 kB / 0.5708 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.4467, allocations: 6.344 kB / 0.5708 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.912e-05/0.4467, allocations: 1.062 kB / 0.5708 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.4467, allocations: 1.625 kB / 0.5708 GB, free: 29.65 MB / 446.1 MB 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.934e-05/0.4468, allocations: 110.7 kB / 0.5709 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.4468, allocations: 10.09 kB / 0.5709 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.4469, allocations: 55.5 kB / 0.571 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4469, allocations: 5 kB / 0.571 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.447, allocations: 1.438 kB / 0.571 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.447, allocations: 4.828 kB / 0.571 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.671e-05/0.447, allocations: 153.6 kB / 0.5711 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4471, allocations: 0 / 0.5711 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.195e-05/0.4471, allocations: 7.328 kB / 0.5711 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.4471, allocations: 8.656 kB / 0.5711 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.4471, allocations: 2.141 kB / 0.5712 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4471, allocations: 0.5625 kB / 0.5712 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4472, allocations: 1.781 kB / 0.5712 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/0.4473, allocations: 77.44 kB / 0.5712 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.229e-05/0.4473, allocations: 79.19 kB / 0.5713 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.4474, allocations: 3.938 kB / 0.5713 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.76e-05/0.4474, allocations: 1.844 kB / 0.5713 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.76e-05/0.4474, allocations: 7.859 kB / 0.5713 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.4474, allocations: 2.094 kB / 0.5713 GB, free: 29.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.455e-05/0.4475, allocations: 79.08 kB / 0.5714 GB, free: 29.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4475, allocations: 0 / 0.5714 GB, free: 29.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002293/0.4477, allocations: 25.16 kB / 0.5714 GB, free: 29.03 MB / 446.1 MB 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.0002318/0.4479, allocations: 126.7 kB / 0.5715 GB, free: 28.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001113/0.4481, allocations: 22.31 kB / 0.5716 GB, free: 28.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4481, allocations: 0 / 0.5716 GB, free: 28.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.968e-05/0.4481, allocations: 7.391 kB / 0.5716 GB, free: 28.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.4483, allocations: 4.547 kB / 0.5716 GB, free: 28.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002701/0.4485, allocations: 113.5 kB / 0.5717 GB, free: 28.81 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001449/0.4487, allocations: 0.6765 MB / 0.5723 GB, free: 28.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.254e-05/0.4487, allocations: 8.109 kB / 0.5723 GB, free: 28.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.638e-05/0.4488, allocations: 8.75 kB / 0.5724 GB, free: 28.11 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4488, allocations: 0 / 0.5724 GB, free: 28.11 MB / 446.1 MB Notification: Performance of Templates: time 0.003646/0.4524, allocations: 0.8773 MB / 0.5732 GB, free: 28.07 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)