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.00122/0.00122, allocations: 100.3 kB / 15.98 MB, free: 6.34 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.00144/0.00144, allocations: 197.8 kB / 16.91 MB, free: 6.188 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.389/1.389, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7724/0.7724, allocations: 122.9 MB / 413.6 MB, free: 28 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 67.91 kB / 0.4906 GB, free: 7.812 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4216/0.4238, allocations: 77.93 MB / 0.5667 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001735/0.4256, allocations: 0.6294 MB / 0.5673 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005707/0.4262, allocations: 322.7 kB / 0.5676 GB, free: 32.17 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.218e-05/0.4262, allocations: 0.5625 kB / 0.5676 GB, free: 32.17 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.764e-05/0.4262, allocations: 1.125 kB / 0.5676 GB, free: 32.17 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.491e-06/0.4262, allocations: 0.5625 kB / 0.5676 GB, free: 32.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004372/0.4267, allocations: 103.5 kB / 0.5677 GB, free: 32.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.66e-05/0.4267, allocations: 2.781 kB / 0.5677 GB, free: 32.13 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.875e-05/0.4268, allocations: 1.938 kB / 0.5677 GB, free: 32.13 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.396e-05/0.4268, allocations: 5.703 kB / 0.5677 GB, free: 32.13 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.995e-05/0.4268, allocations: 1.188 kB / 0.5677 GB, free: 32.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.287e-06/0.4268, allocations: 1.469 kB / 0.5677 GB, free: 32.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004021/0.4272, allocations: 276.6 kB / 0.568 GB, free: 32.06 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.027e-06/0.4272, allocations: 0 / 0.568 GB, free: 32.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.492e-05/0.4273, allocations: 5.125 kB / 0.568 GB, free: 32.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.4274, allocations: 84.62 kB / 0.5681 GB, free: 32.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.4275, allocations: 3.75 kB / 0.5681 GB, free: 32.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4275, allocations: 5.062 kB / 0.5681 GB, free: 32.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.4275, allocations: 0 / 0.5681 GB, free: 32.03 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.0002422/0.4277, allocations: 332.1 kB / 0.5684 GB, free: 31.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.4278, allocations: 10.34 kB / 0.5684 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.178e-05/0.4278, allocations: 0.9375 kB / 0.5684 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.424e-05/0.4279, allocations: 162.5 kB / 0.5686 GB, free: 31.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.4279, allocations: 384 / 0.5686 GB, free: 31.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.204e-06/0.4279, allocations: 1.531 kB / 0.5686 GB, free: 31.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.925e-05/0.428, allocations: 39.27 kB / 0.5686 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.428, allocations: 1.188 kB / 0.5686 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.428, allocations: 3.938 kB / 0.5686 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.428, allocations: 0 / 0.5686 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.859e-05/0.428, allocations: 3.5 kB / 0.5686 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.558e-05/0.4281, allocations: 149.5 kB / 0.5688 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.083e-05/0.4282, allocations: 17.52 kB / 0.5688 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.522e-05/0.4282, allocations: 11.58 kB / 0.5688 GB, free: 31.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004386/0.4287, allocations: 423.5 kB / 0.5692 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.4287, allocations: 30.56 kB / 0.5692 GB, free: 30.69 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.563e-06/0.4287, allocations: 4.625 kB / 0.5692 GB, free: 30.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.000143/0.4288, allocations: 46.94 kB / 0.5693 GB, free: 30.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.215e-05/0.4289, allocations: 51.41 kB / 0.5693 GB, free: 30.58 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.631e-05/0.4289, allocations: 90.58 kB / 0.5694 GB, free: 30.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.134e-06/0.4289, allocations: 27.44 kB / 0.5694 GB, free: 30.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.061e-05/0.4289, allocations: 81.14 kB / 0.5695 GB, free: 30.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.4289, allocations: 1.375 kB / 0.5695 GB, free: 30.37 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-05/0.429, allocations: 13.45 kB / 0.5695 GB, free: 30.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.905e-05/0.429, allocations: 315.7 kB / 0.5698 GB, free: 30.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.048e-05/0.429, allocations: 3.25 kB / 0.5698 GB, free: 30.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.603e-06/0.4291, allocations: 2.188 kB / 0.5698 GB, free: 30.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.262e-05/0.4291, allocations: 11.58 kB / 0.5698 GB, free: 30.03 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4291, allocations: 0.9375 kB / 0.5698 GB, free: 30.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.429e-05/0.4291, allocations: 33.09 kB / 0.5699 GB, free: 30 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.4292, allocations: 6.219 kB / 0.5699 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.4292, allocations: 0.7188 kB / 0.5699 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.4292, allocations: 7.938 kB / 0.5699 GB, free: 29.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.173e-05/0.4292, allocations: 3.922 kB / 0.5699 GB, free: 29.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.4293, allocations: 1.062 kB / 0.5699 GB, free: 29.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.065e-05/0.4293, allocations: 3.906 kB / 0.5699 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-06/0.4293, allocations: 1.734 kB / 0.5699 GB, free: 29.98 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.554e-05/0.4293, allocations: 117.3 kB / 0.57 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.892e-05/0.4294, allocations: 1.188 kB / 0.57 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.615e-05/0.4294, allocations: 46.03 kB / 0.5701 GB, free: 29.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.4294, allocations: 5.719 kB / 0.5701 GB, free: 29.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4295, allocations: 0.5312 kB / 0.5701 GB, free: 29.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4295, allocations: 2.078 kB / 0.5701 GB, free: 29.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.142e-05/0.4295, allocations: 145.2 kB / 0.5702 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4295, allocations: 0.7969 kB / 0.5702 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.284e-05/0.4295, allocations: 2.281 kB / 0.5702 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.4295, allocations: 1 kB / 0.5702 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.4296, allocations: 4.641 kB / 0.5702 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.4296, allocations: 1.812 kB / 0.5702 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4296, allocations: 0 / 0.5702 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.551e-05/0.4296, allocations: 63.88 kB / 0.5703 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.708e-05/0.4297, allocations: 79.28 kB / 0.5704 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.4297, allocations: 5.719 kB / 0.5704 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.674e-06/0.4297, allocations: 5.344 kB / 0.5704 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.022e-05/0.4297, allocations: 1.406 kB / 0.5704 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-06/0.4297, allocations: 0 / 0.5704 GB, free: 29.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.239e-05/0.4297, allocations: 79.19 kB / 0.5704 GB, free: 29.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4297, allocations: 0 / 0.5704 GB, free: 29.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002004/0.4299, allocations: 14.84 kB / 0.5705 GB, free: 29.38 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.0001666/0.4301, allocations: 110.7 kB / 0.5706 GB, free: 29.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.296e-05/0.4302, allocations: 4.109 kB / 0.5706 GB, free: 29.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4302, allocations: 2.531 kB / 0.5706 GB, free: 29.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.592e-06/0.4302, allocations: 1 kB / 0.5706 GB, free: 29.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.4304, allocations: 6.719 kB / 0.5706 GB, free: 29.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001427/0.4305, allocations: 82.12 kB / 0.5707 GB, free: 29.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.868e-05/0.4306, allocations: 0.6708 MB / 0.5713 GB, free: 28.49 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.678e-05/0.4306, allocations: 1.719 kB / 0.5713 GB, free: 28.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.939e-06/0.4306, allocations: 7.438 kB / 0.5713 GB, free: 28.48 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4306, allocations: 2.625 kB / 0.5713 GB, free: 28.48 MB / 446.1 MB Notification: Performance of Templates: time 0.002476/0.4331, allocations: 463.8 kB / 0.5718 GB, free: 28.43 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)