Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 109.1 kB / 16.53 MB, free: 6.727 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.001218/0.001218, allocations: 195.2 kB / 17.45 MB, free: 6.051 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.344/1.344, allocations: 222.9 MB / 241.1 MB, free: 15.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7552/0.7552, allocations: 115.3 MB / 406.6 MB, free: 6.434 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 67.91 kB / 493.6 MB, free: 0.8281 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3821, allocations: 76.17 MB / 0.5564 GB, free: 36.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001721/0.3838, allocations: 0.6425 MB / 0.557 GB, free: 35.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006274/0.3845, allocations: 356.8 kB / 0.5574 GB, free: 35.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.337e-06/0.3845, allocations: 0 / 0.5574 GB, free: 35.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.859e-05/0.3845, allocations: 0 / 0.5574 GB, free: 35.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.871e-06/0.3846, allocations: 0 / 0.5574 GB, free: 35.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000325/0.3849, allocations: 64.78 kB / 0.5574 GB, free: 35.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.77e-05/0.3849, allocations: 8.859 kB / 0.5574 GB, free: 35.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.477e-05/0.385, allocations: 1.312 kB / 0.5574 GB, free: 35.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.349e-05/0.385, allocations: 0 / 0.5574 GB, free: 35.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.075e-05/0.385, allocations: 5 kB / 0.5574 GB, free: 35.72 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.438e-06/0.385, allocations: 0 / 0.5574 GB, free: 35.72 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003659/0.3854, allocations: 277.1 kB / 0.5577 GB, free: 35.65 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.838e-06/0.3854, allocations: 0 / 0.5577 GB, free: 35.65 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.651e-05/0.3855, allocations: 5.094 kB / 0.5577 GB, free: 35.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.3856, allocations: 52.98 kB / 0.5578 GB, free: 35.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3856, allocations: 1.5 kB / 0.5578 GB, free: 35.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.3856, allocations: 0 / 0.5578 GB, free: 35.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.3856, allocations: 1.406 kB / 0.5578 GB, free: 35.64 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002533/0.3859, allocations: 336.7 kB / 0.5581 GB, free: 35.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.3859, allocations: 13.09 kB / 0.5581 GB, free: 35.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.837e-05/0.386, allocations: 3.844 kB / 0.5581 GB, free: 35.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.145e-05/0.386, allocations: 160.4 kB / 0.5582 GB, free: 35.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.3861, allocations: 384 / 0.5582 GB, free: 35.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-06/0.3861, allocations: 2.938 kB / 0.5583 GB, free: 35.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.466e-05/0.3862, allocations: 34.36 kB / 0.5583 GB, free: 35.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.3862, allocations: 192 / 0.5583 GB, free: 35.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.3862, allocations: 4.656 kB / 0.5583 GB, free: 35.03 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3862, allocations: 0 / 0.5583 GB, free: 35.03 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.793e-05/0.3862, allocations: 2.812 kB / 0.5583 GB, free: 35.03 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.601e-05/0.3863, allocations: 155.5 kB / 0.5584 GB, free: 34.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.236e-05/0.3864, allocations: 18.11 kB / 0.5585 GB, free: 34.81 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.49e-05/0.3864, allocations: 6.047 kB / 0.5585 GB, free: 34.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004033/0.3868, allocations: 430.5 kB / 0.5589 GB, free: 34.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.3868, allocations: 33.22 kB / 0.5589 GB, free: 34.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.593e-06/0.3868, allocations: 1.906 kB / 0.5589 GB, free: 34.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.000136/0.387, allocations: 38.67 kB / 0.5589 GB, free: 34.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.038e-05/0.387, allocations: 58.55 kB / 0.559 GB, free: 34.19 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.94e-05/0.387, allocations: 89.86 kB / 0.5591 GB, free: 34.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.244e-06/0.387, allocations: 25.7 kB / 0.5591 GB, free: 34.06 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.216e-05/0.387, allocations: 85.73 kB / 0.5592 GB, free: 33.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.3871, allocations: 0 / 0.5592 GB, free: 33.97 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.201e-05/0.3871, allocations: 10.78 kB / 0.5592 GB, free: 33.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.29e-05/0.3872, allocations: 312.9 kB / 0.5595 GB, free: 33.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.307e-06/0.3872, allocations: 1.25 kB / 0.5595 GB, free: 33.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.476e-06/0.3872, allocations: 9.297 kB / 0.5595 GB, free: 33.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.296e-05/0.3872, allocations: 9.078 kB / 0.5595 GB, free: 33.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3872, allocations: 0 / 0.5595 GB, free: 33.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.692e-05/0.3873, allocations: 39.89 kB / 0.5596 GB, free: 33.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.3873, allocations: 6.562 kB / 0.5596 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3873, allocations: 0 / 0.5596 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3873, allocations: 3.938 kB / 0.5596 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.773e-05/0.3874, allocations: 2.156 kB / 0.5596 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.3874, allocations: 1.594 kB / 0.5596 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.008e-05/0.3874, allocations: 2.844 kB / 0.5596 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.3874, allocations: 0 / 0.5596 GB, free: 33.59 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 (1): * Single equations (assignments): 1 * 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 3.891e-05/0.3875, allocations: 109.6 kB / 0.5597 GB, free: 33.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/0.3875, allocations: 2.094 kB / 0.5597 GB, free: 33.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.042e-05/0.3875, allocations: 49.86 kB / 0.5597 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.3876, allocations: 0.9375 kB / 0.5597 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3876, allocations: 0 / 0.5597 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3876, allocations: 4.922 kB / 0.5597 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.076e-05/0.3876, allocations: 144.8 kB / 0.5599 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.3876, allocations: 2.906 kB / 0.5599 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.165e-05/0.3877, allocations: 1.406 kB / 0.5599 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.3877, allocations: 0 / 0.5599 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.3877, allocations: 5.375 kB / 0.5599 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3877, allocations: 9.984 kB / 0.5599 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3877, allocations: 0.5938 kB / 0.5599 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.692e-05/0.3878, allocations: 64.97 kB / 0.56 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.686e-05/0.3878, allocations: 78.48 kB / 0.56 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-06/0.3878, allocations: 3.938 kB / 0.56 GB, free: 33.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.245e-06/0.3878, allocations: 2.094 kB / 0.56 GB, free: 33.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.032e-05/0.3878, allocations: 0 / 0.56 GB, free: 33.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-06/0.3878, allocations: 1.531 kB / 0.56 GB, free: 33.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.087e-05/0.3878, allocations: 76.53 kB / 0.5601 GB, free: 32.99 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3879, allocations: 0 / 0.5601 GB, free: 32.99 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000193/0.388, allocations: 14.69 kB / 0.5601 GB, free: 32.99 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0001643/0.3882, allocations: 123 kB / 0.5602 GB, free: 32.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.051e-05/0.3883, allocations: 3.312 kB / 0.5602 GB, free: 32.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3883, allocations: 1.094 kB / 0.5602 GB, free: 32.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.655e-06/0.3883, allocations: 2.234 kB / 0.5602 GB, free: 32.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.3885, allocations: 3.031 kB / 0.5602 GB, free: 32.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001387/0.3886, allocations: 104.8 kB / 0.5603 GB, free: 32.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.386e-05/0.3887, allocations: 0.6727 MB / 0.561 GB, free: 32.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.02e-05/0.3887, allocations: 8.625 kB / 0.561 GB, free: 32.06 MB / 446.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3887, allocations: 1 kB / 0.561 GB, free: 32.06 MB / 446.1 MB Notification: Performance of Templates: time 0.001863/0.3906, allocations: 458.2 kB / 0.5615 GB, free: 32.05 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)