Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 114.6 kB / 16.37 MB, free: 6 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.001639/0.001639, allocations: 193.2 kB / 17.31 MB, free: 5.602 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8496/0.8496, allocations: 143.1 MB / 434.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 67.89 kB / 0.5156 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3381, allocations: 82.03 MB / 0.5957 GB, free: 16.1 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.002167/0.3403, allocations: 1.435 MB / 0.5971 GB, free: 14.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002549/0.3405, allocations: 89.72 kB / 0.5972 GB, free: 14.58 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.438e-05/0.3406, allocations: 0 / 0.5972 GB, free: 14.58 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.049e-05/0.3406, allocations: 7.922 kB / 0.5972 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.084e-05/0.3407, allocations: 9.453 kB / 0.5972 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.3409, allocations: 15.98 kB / 0.5972 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.35e-05/0.341, allocations: 23.92 kB / 0.5972 GB, free: 14.53 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.579e-05/0.341, allocations: 9.344 kB / 0.5972 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.629e-05/0.3411, allocations: 7.938 kB / 0.5973 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.584e-05/0.3411, allocations: 11.98 kB / 0.5973 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.3411, allocations: 1.375 kB / 0.5973 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.22e-05/0.3412, allocations: 15.98 kB / 0.5973 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.499e-05/0.3412, allocations: 19.86 kB / 0.5973 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.323e-05/0.3413, allocations: 7.922 kB / 0.5973 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.421e-05/0.3414, allocations: 29.28 kB / 0.5973 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3414, allocations: 7.984 kB / 0.5973 GB, free: 14.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3414, allocations: 0 / 0.5973 GB, free: 14.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.3414, allocations: 0 / 0.5973 GB, free: 14.42 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.0003521/0.3417, allocations: 344.6 kB / 0.5977 GB, free: 14.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.3418, allocations: 13.28 kB / 0.5977 GB, free: 14.03 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001511/0.3419, allocations: 16.86 kB / 0.5977 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.289e-05/0.342, allocations: 164.3 kB / 0.5979 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.342, allocations: 5.375 kB / 0.5979 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.3421, allocations: 4.375 kB / 0.5979 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.3423, allocations: 59.59 kB / 0.5979 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.3423, allocations: 192 / 0.5979 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.3423, allocations: 3.938 kB / 0.5979 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3423, allocations: 0.9375 kB / 0.5979 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.3425, allocations: 44.55 kB / 0.598 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003069/0.3428, allocations: 266.5 kB / 0.5982 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.343, allocations: 56.61 kB / 0.5983 GB, free: 13.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.069e-05/0.3431, allocations: 32.89 kB / 0.5983 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.3431, allocations: 0.5 kB / 0.5983 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.364e-05/0.3431, allocations: 31.72 kB / 0.5983 GB, free: 13.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.903e-06/0.3431, allocations: 1.156 kB / 0.5983 GB, free: 13.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003488/0.3435, allocations: 104.2 kB / 0.5984 GB, free: 13.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.3435, allocations: 55.41 kB / 0.5985 GB, free: 13.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.365e-05/0.3436, allocations: 109.8 kB / 0.5986 GB, free: 12.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.3436, allocations: 25.7 kB / 0.5986 GB, free: 12.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.81e-05/0.3436, allocations: 81.55 kB / 0.5987 GB, free: 12.85 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.3436, allocations: 5.734 kB / 0.5987 GB, free: 12.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/0.3437, allocations: 17.72 kB / 0.5987 GB, free: 12.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.266e-05/0.3437, allocations: 315.5 kB / 0.599 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.3438, allocations: 21.36 kB / 0.599 GB, free: 12.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.233e-05/0.3439, allocations: 29.38 kB / 0.5991 GB, free: 12.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.3441, allocations: 50.28 kB / 0.5991 GB, free: 12.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3441, allocations: 0 / 0.5991 GB, free: 12.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001962/0.3443, allocations: 95.42 kB / 0.5992 GB, free: 12.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.3443, allocations: 4 kB / 0.5992 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.3443, allocations: 0 / 0.5992 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.3443, allocations: 5.562 kB / 0.5992 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.3444, allocations: 11.98 kB / 0.5992 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.3445, allocations: 4 kB / 0.5992 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.758e-05/0.3445, allocations: 6.062 kB / 0.5992 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.3445, allocations: 7.922 kB / 0.5992 GB, free: 12.27 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 (2): * Single equations (assignments): 2 * 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.357e-05/0.3446, allocations: 109.8 kB / 0.5994 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.3446, allocations: 4 kB / 0.5994 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.463e-05/0.3446, allocations: 8.812 kB / 0.5994 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.3446, allocations: 0 / 0.5994 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.3446, allocations: 0 / 0.5994 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3447, allocations: 0.9062 kB / 0.5994 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.3448, allocations: 169.6 kB / 0.5995 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3448, allocations: 0 / 0.5995 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.077e-05/0.3448, allocations: 13.36 kB / 0.5995 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.3449, allocations: 3.984 kB / 0.5995 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.3449, allocations: 0 / 0.5995 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3449, allocations: 0.9062 kB / 0.5995 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3449, allocations: 0 / 0.5995 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.3451, allocations: 186.2 kB / 0.5997 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.551e-05/0.3451, allocations: 85.02 kB / 0.5998 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.3451, allocations: 0 / 0.5998 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.394e-05/0.3452, allocations: 10.11 kB / 0.5998 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.3453, allocations: 3.984 kB / 0.5998 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.3453, allocations: 4 kB / 0.5998 GB, free: 11.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.184e-05/0.3453, allocations: 87.53 kB / 0.5999 GB, free: 11.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3453, allocations: 1.281 kB / 0.5999 GB, free: 11.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002121/0.3455, allocations: 4 kB / 0.5999 GB, free: 11.51 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 (2): * Single equations (assignments): 2 * 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 7.541e-05/0.3456, allocations: 96 kB / 0.6 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002172/0.3458, allocations: 61.38 kB / 0.6001 GB, free: 11.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.3458, allocations: 1.5 kB / 0.6001 GB, free: 11.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.036e-05/0.3459, allocations: 23.98 kB / 0.6001 GB, free: 11.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.3462, allocations: 8.688 kB / 0.6001 GB, free: 11.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002575/0.3464, allocations: 127 kB / 0.6002 GB, free: 11.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.506e-05/0.3465, allocations: 0.6813 MB / 0.6009 GB, free: 10.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.71e-05/0.3466, allocations: 1.719 kB / 0.6009 GB, free: 10.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.59e-05/0.3466, allocations: 11.44 kB / 0.6009 GB, free: 10.45 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3466, allocations: 0 / 0.6009 GB, free: 10.45 MB / 446.1 MB Notification: Performance of Templates: time 0.00221/0.3488, allocations: 0.5746 MB / 0.6015 GB, free: 9.902 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)