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.00133/0.00133, allocations: 105.5 kB / 15.98 MB, free: 6.352 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.001312/0.001312, allocations: 191 kB / 16.91 MB, free: 6.195 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.355/1.355, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.806/0.806, allocations: 122.9 MB / 413.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 63.91 kB / 0.4906 GB, free: 7.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.4122, allocations: 77.92 MB / 0.5667 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.00186/0.4141, allocations: 0.6339 MB / 0.5674 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006386/0.4148, allocations: 324.8 kB / 0.5677 GB, free: 32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.36e-05/0.4148, allocations: 1.031 kB / 0.5677 GB, free: 32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.464e-05/0.4148, allocations: 0 / 0.5677 GB, free: 32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.919e-06/0.4148, allocations: 1.125 kB / 0.5677 GB, free: 32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004851/0.4153, allocations: 96.36 kB / 0.5678 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.758e-05/0.4154, allocations: 2.094 kB / 0.5678 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.299e-05/0.4154, allocations: 7.219 kB / 0.5678 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.692e-05/0.4154, allocations: 0 / 0.5678 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.179e-05/0.4155, allocations: 1.562 kB / 0.5678 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.4155, allocations: 0.5312 kB / 0.5678 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004422/0.4159, allocations: 277.7 kB / 0.568 GB, free: 31.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.05e-05/0.4159, allocations: 0 / 0.568 GB, free: 31.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.759e-05/0.416, allocations: 10.22 kB / 0.568 GB, free: 31.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.4162, allocations: 87.95 kB / 0.5681 GB, free: 31.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4162, allocations: 0 / 0.5681 GB, free: 31.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4162, allocations: 0.5625 kB / 0.5681 GB, free: 31.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.4162, allocations: 0.6562 kB / 0.5681 GB, free: 31.86 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.0002741/0.4165, allocations: 338.7 kB / 0.5685 GB, free: 31.49 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.4165, allocations: 9.375 kB / 0.5685 GB, free: 31.49 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.73e-05/0.4166, allocations: 3.125 kB / 0.5685 GB, free: 31.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.594e-05/0.4166, allocations: 164.1 kB / 0.5686 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.4167, allocations: 384 / 0.5686 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.4167, allocations: 2.938 kB / 0.5686 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.025e-05/0.4168, allocations: 28.55 kB / 0.5687 GB, free: 31.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.4168, allocations: 4.188 kB / 0.5687 GB, free: 31.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.4168, allocations: 4.438 kB / 0.5687 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.4168, allocations: 1.719 kB / 0.5687 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.812e-05/0.4168, allocations: 1.375 kB / 0.5687 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.642e-05/0.4169, allocations: 153.1 kB / 0.5688 GB, free: 31.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.706e-05/0.417, allocations: 17.83 kB / 0.5688 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.399e-05/0.417, allocations: 6.953 kB / 0.5688 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004287/0.4174, allocations: 426.9 kB / 0.5692 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.4175, allocations: 33.48 kB / 0.5693 GB, free: 30.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.653e-06/0.4175, allocations: 0 / 0.5693 GB, free: 30.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.000141/0.4176, allocations: 45.05 kB / 0.5693 GB, free: 30.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/0.4176, allocations: 51.92 kB / 0.5694 GB, free: 30.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.063e-05/0.4177, allocations: 91.33 kB / 0.5695 GB, free: 30.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.784e-06/0.4177, allocations: 26.95 kB / 0.5695 GB, free: 30.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.093e-05/0.4177, allocations: 81.52 kB / 0.5696 GB, free: 30.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.4177, allocations: 7.906 kB / 0.5696 GB, free: 30.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.348e-05/0.4178, allocations: 14.81 kB / 0.5696 GB, free: 30.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.334e-05/0.4178, allocations: 315.9 kB / 0.5699 GB, free: 29.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.083e-05/0.4178, allocations: 1 kB / 0.5699 GB, free: 29.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.282e-06/0.4178, allocations: 2.812 kB / 0.5699 GB, free: 29.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.772e-05/0.4179, allocations: 9.266 kB / 0.5699 GB, free: 29.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4179, allocations: 1.344 kB / 0.5699 GB, free: 29.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.226e-05/0.418, allocations: 40.34 kB / 0.5699 GB, free: 29.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.418, allocations: 5.438 kB / 0.5699 GB, free: 29.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.418, allocations: 0.5 kB / 0.5699 GB, free: 29.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.418, allocations: 6.312 kB / 0.5699 GB, free: 29.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.193e-05/0.418, allocations: 1.719 kB / 0.5699 GB, free: 29.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.4181, allocations: 1.25 kB / 0.5699 GB, free: 29.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.067e-05/0.4181, allocations: 1.812 kB / 0.5699 GB, free: 29.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.4181, allocations: 1.828 kB / 0.5699 GB, free: 29.81 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 4.154e-05/0.4181, allocations: 110.9 kB / 0.5701 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.904e-05/0.4182, allocations: 1.938 kB / 0.5701 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.672e-05/0.4182, allocations: 42.88 kB / 0.5701 GB, free: 29.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.4182, allocations: 1 kB / 0.5701 GB, free: 29.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4183, allocations: 0.625 kB / 0.5701 GB, free: 29.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.4183, allocations: 5.969 kB / 0.5701 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.075e-05/0.4183, allocations: 147.9 kB / 0.5702 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4183, allocations: 1.359 kB / 0.5702 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.273e-05/0.4183, allocations: 3.141 kB / 0.5703 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.4183, allocations: 0.6562 kB / 0.5703 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.4184, allocations: 4.969 kB / 0.5703 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4184, allocations: 3.219 kB / 0.5703 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4184, allocations: 0 / 0.5703 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.976e-05/0.4184, allocations: 57.69 kB / 0.5703 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.472e-05/0.4185, allocations: 82.66 kB / 0.5704 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.4185, allocations: 5.719 kB / 0.5704 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.724e-06/0.4185, allocations: 5.906 kB / 0.5704 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.039e-05/0.4185, allocations: 1.906 kB / 0.5704 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/0.4185, allocations: 1.094 kB / 0.5704 GB, free: 29.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.419e-05/0.4185, allocations: 75.28 kB / 0.5705 GB, free: 29.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4185, allocations: 0.5312 kB / 0.5705 GB, free: 29.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002269/0.4188, allocations: 11.5 kB / 0.5705 GB, free: 29.21 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.0001628/0.4189, allocations: 115.7 kB / 0.5706 GB, free: 29.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.658e-05/0.419, allocations: 5.359 kB / 0.5706 GB, free: 29.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.419, allocations: 1.094 kB / 0.5706 GB, free: 29.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.993e-06/0.419, allocations: 1.703 kB / 0.5706 GB, free: 29.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.4192, allocations: 7.234 kB / 0.5706 GB, free: 29.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001473/0.4193, allocations: 74.8 kB / 0.5707 GB, free: 29.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.107e-05/0.4194, allocations: 0.6751 MB / 0.5713 GB, free: 28.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.724e-05/0.4194, allocations: 1.859 kB / 0.5713 GB, free: 28.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.909e-06/0.4195, allocations: 7.438 kB / 0.5714 GB, free: 28.32 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4195, allocations: 2.594 kB / 0.5714 GB, free: 28.32 MB / 446.1 MB Notification: Performance of Templates: time 0.002398/0.4219, allocations: 461.3 kB / 0.5718 GB, free: 28.27 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)