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: translateModel(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001053, allocations: 99.17 kB / 16.26 MB, free: 5.934 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.001177/0.001178, allocations: 187.4 kB / 17.2 MB, free: 5.574 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.379/1.379, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7862/0.7862, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001229, allocations: 63.91 kB / 0.4911 GB, free: 7.414 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4138, allocations: 77.92 MB / 0.5672 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.00199/0.4158, allocations: 0.6064 MB / 0.5678 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007624/0.4166, allocations: 352.8 kB / 0.5681 GB, free: 32.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.986e-05/0.4166, allocations: 1.094 kB / 0.5681 GB, free: 32.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.702e-05/0.4167, allocations: 3.938 kB / 0.5681 GB, free: 32.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.76e-05/0.4167, allocations: 0 / 0.5681 GB, free: 32.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005026/0.4172, allocations: 121.9 kB / 0.5683 GB, free: 31.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.478e-05/0.4173, allocations: 31.17 kB / 0.5683 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.573e-05/0.4173, allocations: 2.469 kB / 0.5683 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.475e-05/0.4174, allocations: 11.64 kB / 0.5683 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.083e-05/0.4174, allocations: 14.48 kB / 0.5683 GB, free: 31.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.4175, allocations: 2.562 kB / 0.5683 GB, free: 31.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004493/0.4179, allocations: 273.9 kB / 0.5686 GB, free: 31.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.856e-05/0.418, allocations: 15.06 kB / 0.5686 GB, free: 31.87 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.483e-05/0.418, allocations: 9.672 kB / 0.5686 GB, free: 31.87 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.4182, allocations: 108.7 kB / 0.5687 GB, free: 31.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.4182, allocations: 0 / 0.5687 GB, free: 31.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4182, allocations: 0 / 0.5687 GB, free: 31.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.4182, allocations: 2.906 kB / 0.5687 GB, free: 31.83 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.0003714/0.4186, allocations: 355.1 kB / 0.569 GB, free: 31.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.4186, allocations: 10.38 kB / 0.5691 GB, free: 31.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.227e-05/0.4187, allocations: 5.562 kB / 0.5691 GB, free: 31.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.618e-05/0.4188, allocations: 166.2 kB / 0.5692 GB, free: 31.26 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.4188, allocations: 7.328 kB / 0.5692 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.4188, allocations: 7.531 kB / 0.5692 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.419, allocations: 54.36 kB / 0.5693 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.419, allocations: 2.938 kB / 0.5693 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.419, allocations: 3.938 kB / 0.5693 GB, free: 31.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.419, allocations: 1.531 kB / 0.5693 GB, free: 31.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.089e-05/0.4191, allocations: 18.55 kB / 0.5693 GB, free: 31.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001376/0.4192, allocations: 165.6 kB / 0.5695 GB, free: 31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.4193, allocations: 60.91 kB / 0.5695 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.025e-05/0.4194, allocations: 28.55 kB / 0.5696 GB, free: 30.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006172/0.42, allocations: 462.3 kB / 0.57 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.42, allocations: 34.61 kB / 0.57 GB, free: 30.44 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.42, allocations: 0.875 kB / 0.57 GB, free: 30.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001183/0.4212, allocations: 0.5888 MB / 0.5706 GB, free: 29.92 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.4213, allocations: 58.69 kB / 0.5707 GB, free: 29.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.879e-05/0.4213, allocations: 96.3 kB / 0.5707 GB, free: 29.76 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.4213, allocations: 30.86 kB / 0.5708 GB, free: 29.72 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.761e-05/0.4214, allocations: 81.45 kB / 0.5709 GB, free: 29.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.4214, allocations: 40.06 kB / 0.5709 GB, free: 29.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.4214, allocations: 32.05 kB / 0.5709 GB, free: 29.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.166e-05/0.4215, allocations: 315.9 kB / 0.5712 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.159e-05/0.4215, allocations: 23.12 kB / 0.5712 GB, free: 29.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.869e-05/0.4216, allocations: 24.34 kB / 0.5713 GB, free: 29.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.035e-05/0.4217, allocations: 65 kB / 0.5713 GB, free: 29.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4217, allocations: 0 / 0.5713 GB, free: 29.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000152/0.4218, allocations: 97.97 kB / 0.5714 GB, free: 29.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.4219, allocations: 5.688 kB / 0.5714 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.4219, allocations: 0 / 0.5714 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.4219, allocations: 1.797 kB / 0.5714 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.422, allocations: 21.42 kB / 0.5715 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.422, allocations: 1.828 kB / 0.5715 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.211e-05/0.422, allocations: 1.219 kB / 0.5715 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.4221, allocations: 7.484 kB / 0.5715 GB, free: 29.16 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.498e-05/0.4221, allocations: 118.1 kB / 0.5716 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.4222, allocations: 11.22 kB / 0.5716 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001813/0.4223, allocations: 101.8 kB / 0.5717 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.4224, allocations: 2.344 kB / 0.5717 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4224, allocations: 5.344 kB / 0.5717 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4224, allocations: 1.219 kB / 0.5717 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003305/0.4227, allocations: 361 kB / 0.572 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.4227, allocations: 0.5 kB / 0.572 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.4228, allocations: 22.09 kB / 0.5721 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.4228, allocations: 1.281 kB / 0.5721 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.4229, allocations: 1.703 kB / 0.5721 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.4229, allocations: 1.375 kB / 0.5721 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4229, allocations: 0.75 kB / 0.5721 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.4231, allocations: 227.7 kB / 0.5723 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.004e-05/0.4231, allocations: 88.7 kB / 0.5724 GB, free: 28.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.4232, allocations: 6 kB / 0.5724 GB, free: 28.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.933e-05/0.4233, allocations: 3.234 kB / 0.5724 GB, free: 28.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.301e-05/0.4233, allocations: 9.828 kB / 0.5724 GB, free: 28.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.4233, allocations: 3.812 kB / 0.5724 GB, free: 28.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.12e-05/0.4233, allocations: 79.66 kB / 0.5725 GB, free: 28.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4233, allocations: 0.5 kB / 0.5725 GB, free: 28.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002822/0.4236, allocations: 46.97 kB / 0.5725 GB, free: 28.27 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.0002292/0.4239, allocations: 145.1 kB / 0.5726 GB, free: 28.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001593/0.424, allocations: 71.47 kB / 0.5727 GB, free: 28.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.424, allocations: 0 / 0.5727 GB, free: 28.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.1e-05/0.4241, allocations: 37.62 kB / 0.5728 GB, free: 28.13 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.4243, allocations: 7.938 kB / 0.5728 GB, free: 28.13 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003206/0.4247, allocations: 179.3 kB / 0.5729 GB, free: 27.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.4248, allocations: 0.6859 MB / 0.5736 GB, free: 27.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.674e-05/0.4248, allocations: 10.11 kB / 0.5736 GB, free: 27.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.215e-05/0.4249, allocations: 12.61 kB / 0.5736 GB, free: 27.29 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4249, allocations: 4.219 kB / 0.5736 GB, free: 27.29 MB / 446.1 MB Notification: Performance of Templates: time 0.00402/0.4289, allocations: 1.413 MB / 0.575 GB, free: 27.24 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (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 & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)