Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001045, allocations: 101.8 kB / 15.98 MB, free: 6.336 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.001009/0.001009, allocations: 197 kB / 16.91 MB, free: 6.184 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.4/1.4, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6972/0.6972, allocations: 115.3 MB / 406.1 MB, free: 6.41 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 63.91 kB / 493.2 MB, free: 0.6172 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4408/0.4424, allocations: 76.17 MB / 0.556 GB, free: 35.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001928/0.4444, allocations: 0.6817 MB / 0.5567 GB, free: 35.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005724/0.4449, allocations: 348.8 kB / 0.557 GB, free: 35.24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.032e-05/0.445, allocations: 0 / 0.557 GB, free: 35.24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.706e-05/0.445, allocations: 1.656 kB / 0.557 GB, free: 35.24 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.729e-05/0.445, allocations: 3.938 kB / 0.557 GB, free: 35.24 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004033/0.4455, allocations: 105.4 kB / 0.5571 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.042e-05/0.4455, allocations: 27.16 kB / 0.5572 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.527e-05/0.4456, allocations: 2.906 kB / 0.5572 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.119e-05/0.4456, allocations: 10.42 kB / 0.5572 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.706e-05/0.4456, allocations: 13.56 kB / 0.5572 GB, free: 35.19 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.4457, allocations: 1.031 kB / 0.5572 GB, free: 35.19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003764/0.446, allocations: 273.5 kB / 0.5574 GB, free: 35.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.4461, allocations: 10.91 kB / 0.5575 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.917e-05/0.4461, allocations: 18.17 kB / 0.5575 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.4463, allocations: 105.3 kB / 0.5576 GB, free: 35.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.4463, allocations: 0 / 0.5576 GB, free: 35.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4463, allocations: 0 / 0.5576 GB, free: 35.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.4463, allocations: 1.219 kB / 0.5576 GB, free: 35.07 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003508/0.4467, allocations: 356.4 kB / 0.5579 GB, free: 34.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.4467, allocations: 9.938 kB / 0.5579 GB, free: 34.7 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.648e-05/0.4468, allocations: 41.05 kB / 0.558 GB, free: 34.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.32e-05/0.4468, allocations: 8.844 kB / 0.558 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.112e-05/0.4469, allocations: 166.9 kB / 0.5581 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-06/0.4469, allocations: 2.125 kB / 0.5581 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.447, allocations: 4.938 kB / 0.5581 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.4471, allocations: 52.39 kB / 0.5582 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.4471, allocations: 3.938 kB / 0.5582 GB, free: 34.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.4471, allocations: 1.469 kB / 0.5582 GB, free: 34.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-06/0.4471, allocations: 2.125 kB / 0.5582 GB, free: 34.4 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.93e-05/0.4472, allocations: 25.3 kB / 0.5582 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001339/0.4473, allocations: 167.7 kB / 0.5584 GB, free: 34.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.644e-05/0.4474, allocations: 56.36 kB / 0.5584 GB, free: 34.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.133e-05/0.4475, allocations: 27.77 kB / 0.5585 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000612/0.4481, allocations: 459.1 kB / 0.5589 GB, free: 33.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.4481, allocations: 33.67 kB / 0.5589 GB, free: 33.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.4481, allocations: 1.594 kB / 0.5589 GB, free: 33.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001155/0.4493, allocations: 0.6004 MB / 0.5595 GB, free: 33.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.258e-05/0.4493, allocations: 53.16 kB / 0.5596 GB, free: 33.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.883e-05/0.4494, allocations: 97.59 kB / 0.5597 GB, free: 32.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.4494, allocations: 29.7 kB / 0.5597 GB, free: 32.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.078e-05/0.4494, allocations: 82.42 kB / 0.5598 GB, free: 32.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.4495, allocations: 43.2 kB / 0.5598 GB, free: 32.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.4495, allocations: 28.14 kB / 0.5598 GB, free: 32.78 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.177e-05/0.4496, allocations: 319.5 kB / 0.5601 GB, free: 32.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.853e-05/0.4496, allocations: 21.83 kB / 0.5602 GB, free: 32.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.679e-05/0.4497, allocations: 22.12 kB / 0.5602 GB, free: 32.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.039e-05/0.4497, allocations: 56.14 kB / 0.5602 GB, free: 32.42 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.4498, allocations: 1.281 kB / 0.5602 GB, free: 32.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001517/0.4499, allocations: 111.4 kB / 0.5603 GB, free: 32.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.4499, allocations: 5.875 kB / 0.5604 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.4499, allocations: 3.5 kB / 0.5604 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.45, allocations: 1.125 kB / 0.5604 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.4501, allocations: 19.66 kB / 0.5604 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.4501, allocations: 4.781 kB / 0.5604 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.45e-05/0.4501, allocations: 5.375 kB / 0.5604 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.4501, allocations: 2.75 kB / 0.5604 GB, free: 32.35 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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.798e-05/0.4502, allocations: 117.9 kB / 0.5605 GB, free: 32.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.4502, allocations: 6.875 kB / 0.5605 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001895/0.4504, allocations: 108 kB / 0.5606 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.4504, allocations: 1.531 kB / 0.5606 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.4504, allocations: 5.156 kB / 0.5606 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4504, allocations: 1.656 kB / 0.5606 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003414/0.4508, allocations: 349.9 kB / 0.561 GB, free: 31.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4508, allocations: 1.938 kB / 0.561 GB, free: 31.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.4509, allocations: 24.31 kB / 0.561 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.4509, allocations: 2.312 kB / 0.561 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.4509, allocations: 5.25 kB / 0.561 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.4509, allocations: 1.469 kB / 0.561 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.451, allocations: 0.9375 kB / 0.561 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.4512, allocations: 221.3 kB / 0.5612 GB, free: 31.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.551e-05/0.4512, allocations: 87.91 kB / 0.5613 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.4513, allocations: 1.344 kB / 0.5613 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.321e-05/0.4513, allocations: 7.781 kB / 0.5613 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.4514, allocations: 7.203 kB / 0.5613 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.4514, allocations: 3.344 kB / 0.5613 GB, free: 31.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.403e-05/0.4514, allocations: 79.62 kB / 0.5614 GB, free: 31.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4514, allocations: 0 / 0.5614 GB, free: 31.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002887/0.4517, allocations: 42.61 kB / 0.5614 GB, free: 31.47 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0005176/0.4522, allocations: 0.8052 MB / 0.5622 GB, free: 30.76 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001609/0.4524, allocations: 65.28 kB / 0.5623 GB, free: 30.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.4524, allocations: 0 / 0.5623 GB, free: 30.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.022e-05/0.4525, allocations: 33.39 kB / 0.5623 GB, free: 30.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.4527, allocations: 6.531 kB / 0.5623 GB, free: 30.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.4538, allocations: 1.412 MB / 0.5637 GB, free: 29.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.4539, allocations: 0.6853 MB / 0.5643 GB, free: 28.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.945e-05/0.4539, allocations: 12.58 kB / 0.5644 GB, free: 28.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.789e-05/0.454, allocations: 20.53 kB / 0.5644 GB, free: 28.75 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.454, allocations: 0 / 0.5644 GB, free: 28.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01413/0.4681, allocations: 2.367 MB / 0.5667 GB, free: 28.56 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000157/0.4683, allocations: 238.7 kB / 0.5669 GB, free: 28.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/2.187, allocations: 0 / 0.5669 GB, free: 28.31 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)