Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.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.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 104.4 kB / 15.98 MB, free: 6.332 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.0009935/0.0009936, allocations: 200.1 kB / 16.91 MB, free: 6.18 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.384/1.384, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7578/0.7578, allocations: 122.8 MB / 413.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.91 kB / 0.4906 GB, free: 7.801 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.421, allocations: 77.93 MB / 0.5667 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002499/0.4236, allocations: 0.6401 MB / 0.5673 GB, free: 31.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003617/0.424, allocations: 86.59 kB / 0.5674 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.816e-05/0.424, allocations: 0 / 0.5674 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.215e-05/0.424, allocations: 2.062 kB / 0.5674 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.371e-05/0.4241, allocations: 0.6562 kB / 0.5674 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002829/0.4244, allocations: 15.11 kB / 0.5674 GB, free: 31.63 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.117e-05/0.4245, allocations: 9.109 kB / 0.5674 GB, free: 31.63 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.167e-05/0.4245, allocations: 2.609 kB / 0.5674 GB, free: 31.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.641e-05/0.4245, allocations: 6.219 kB / 0.5674 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.017e-05/0.4246, allocations: 7.969 kB / 0.5675 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.4247, allocations: 0 / 0.5675 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.99e-05/0.4247, allocations: 14.7 kB / 0.5675 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.4248, allocations: 5.812 kB / 0.5675 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.4248, allocations: 2.438 kB / 0.5675 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.4249, allocations: 18.3 kB / 0.5675 GB, free: 31.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.4249, allocations: 5.25 kB / 0.5675 GB, free: 31.6 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4249, allocations: 3.938 kB / 0.5675 GB, free: 31.6 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.4249, allocations: 0.5625 kB / 0.5675 GB, free: 31.6 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003862/0.4253, allocations: 315.2 kB / 0.5678 GB, free: 31.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.4254, allocations: 10.31 kB / 0.5678 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.4256, allocations: 14.22 kB / 0.5678 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.583e-05/0.4256, allocations: 163.9 kB / 0.568 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.4257, allocations: 5.078 kB / 0.568 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.4257, allocations: 5.562 kB / 0.568 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.4258, allocations: 36.58 kB / 0.568 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.4258, allocations: 0.75 kB / 0.568 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.4259, allocations: 6.031 kB / 0.568 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.4259, allocations: 0 / 0.568 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.653e-05/0.426, allocations: 17.38 kB / 0.568 GB, free: 31 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001421/0.4261, allocations: 151.2 kB / 0.5682 GB, free: 30.81 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.4263, allocations: 48.78 kB / 0.5682 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.974e-05/0.4264, allocations: 11.53 kB / 0.5682 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.4264, allocations: 1.094 kB / 0.5682 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.4264, allocations: 37.73 kB / 0.5683 GB, free: 30.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.4264, allocations: 0.8125 kB / 0.5683 GB, free: 30.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002316/0.4267, allocations: 60.08 kB / 0.5683 GB, free: 30.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.4267, allocations: 54.12 kB / 0.5684 GB, free: 30.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.78e-05/0.4267, allocations: 89.86 kB / 0.5685 GB, free: 30.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.4267, allocations: 26.83 kB / 0.5685 GB, free: 30.49 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.956e-05/0.4268, allocations: 81.02 kB / 0.5686 GB, free: 30.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.347e-05/0.4268, allocations: 11.62 kB / 0.5686 GB, free: 30.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.4269, allocations: 19.38 kB / 0.5686 GB, free: 30.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.41e-05/0.4269, allocations: 312.6 kB / 0.5689 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.229e-05/0.427, allocations: 6.281 kB / 0.5689 GB, free: 30.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.526e-05/0.427, allocations: 11.39 kB / 0.5689 GB, free: 30.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.956e-05/0.4271, allocations: 21.36 kB / 0.5689 GB, free: 30.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4271, allocations: 0 / 0.5689 GB, free: 30.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000108/0.4272, allocations: 53.06 kB / 0.569 GB, free: 30.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.4272, allocations: 5.281 kB / 0.569 GB, free: 30.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4273, allocations: 1.812 kB / 0.569 GB, free: 30.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.4273, allocations: 4.719 kB / 0.569 GB, free: 30.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003994/0.4277, allocations: 47.58 kB / 0.5691 GB, free: 30.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001115/0.4288, allocations: 1.401 MB / 0.5704 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.022e-05/0.4289, allocations: 2.984 kB / 0.5704 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.4289, allocations: 9.391 kB / 0.5704 GB, free: 28.57 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.561e-05/0.4289, allocations: 113.3 kB / 0.5705 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.767e-06/0.429, allocations: 0.6562 kB / 0.5705 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.446e-05/0.429, allocations: 9.344 kB / 0.5706 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.429, allocations: 2.562 kB / 0.5706 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.429, allocations: 1.281 kB / 0.5706 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.429, allocations: 0.6562 kB / 0.5706 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.611e-05/0.4291, allocations: 160 kB / 0.5707 GB, free: 28.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.4291, allocations: 7.984 kB / 0.5707 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003731/0.4295, allocations: 48.77 kB / 0.5708 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.4295, allocations: 1.375 kB / 0.5708 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.4295, allocations: 1.344 kB / 0.5708 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009578/0.4305, allocations: 1.408 MB / 0.5721 GB, free: 26.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4305, allocations: 1.188 kB / 0.5721 GB, free: 26.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.4306, allocations: 71.89 kB / 0.5722 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.917e-05/0.4306, allocations: 79.34 kB / 0.5723 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.706e-06/0.4306, allocations: 6.047 kB / 0.5723 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.54e-05/0.4307, allocations: 4.703 kB / 0.5723 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.4307, allocations: 7.172 kB / 0.5723 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.4307, allocations: 1.25 kB / 0.5723 GB, free: 26.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.76e-05/0.4307, allocations: 76.16 kB / 0.5724 GB, free: 26.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4307, allocations: 1.188 kB / 0.5724 GB, free: 26.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000183/0.4309, allocations: 2.688 kB / 0.5724 GB, free: 26.55 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001214/0.431, allocations: 101.9 kB / 0.5725 GB, free: 26.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004595/0.4315, allocations: 60.95 kB / 0.5725 GB, free: 26.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4315, allocations: 0 / 0.5725 GB, free: 26.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002448/0.4318, allocations: 41.72 kB / 0.5726 GB, free: 26.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.4319, allocations: 8.156 kB / 0.5726 GB, free: 26.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003111/0.4322, allocations: 97.17 kB / 0.5727 GB, free: 26.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.4324, allocations: 0.6774 MB / 0.5733 GB, free: 25.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.487e-05/0.4324, allocations: 4.438 kB / 0.5733 GB, free: 25.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.767e-05/0.4324, allocations: 10.69 kB / 0.5734 GB, free: 25.63 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4324, allocations: 0 / 0.5734 GB, free: 25.63 MB / 446.1 MB Notification: Performance of Templates: time 0.002582/0.435, allocations: 410.5 kB / 0.5737 GB, free: 25.59 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)