Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.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.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 102.1 kB / 16.35 MB, free: 5.875 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.001173/0.001173, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15 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.8528/0.8528, allocations: 143.1 MB / 434.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001243, allocations: 63.89 kB / 0.5156 GB, free: 14.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3381, allocations: 82.02 MB / 0.5957 GB, free: 16.15 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial): time 0.00243/0.3405, allocations: 1.442 MB / 0.5971 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002918/0.3408, allocations: 88.59 kB / 0.5972 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.807e-05/0.3409, allocations: 0 / 0.5972 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.056e-05/0.3409, allocations: 5.062 kB / 0.5972 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.432e-05/0.341, allocations: 7.984 kB / 0.5972 GB, free: 14.61 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.3412, allocations: 20.98 kB / 0.5972 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.206e-05/0.3413, allocations: 27.86 kB / 0.5972 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.039e-05/0.3414, allocations: 5.688 kB / 0.5972 GB, free: 14.56 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.65e-05/0.3415, allocations: 7.984 kB / 0.5972 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.977e-05/0.3415, allocations: 15.92 kB / 0.5973 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.3415, allocations: 4 kB / 0.5973 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.258e-05/0.3416, allocations: 18.48 kB / 0.5973 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.477e-05/0.3416, allocations: 4 kB / 0.5973 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.684e-05/0.3417, allocations: 15.92 kB / 0.5973 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.3418, allocations: 35.89 kB / 0.5973 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.3418, allocations: 0 / 0.5973 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3418, allocations: 0 / 0.5973 GB, free: 14.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.3418, allocations: 0 / 0.5973 GB, free: 14.46 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.0003635/0.3422, allocations: 356.6 kB / 0.5977 GB, free: 14.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.3422, allocations: 9.531 kB / 0.5977 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.525e-05/0.3423, allocations: 0.9375 kB / 0.5977 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.397e-05/0.3423, allocations: 172.2 kB / 0.5978 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.3424, allocations: 384 / 0.5978 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.3424, allocations: 0.9375 kB / 0.5978 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.3425, allocations: 55.73 kB / 0.5979 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.3426, allocations: 192 / 0.5979 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.3426, allocations: 3.938 kB / 0.5979 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.3426, allocations: 3.938 kB / 0.5979 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.3427, allocations: 41.39 kB / 0.5979 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002691/0.343, allocations: 257.7 kB / 0.5982 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.3431, allocations: 44 kB / 0.5982 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.73e-05/0.3432, allocations: 26.16 kB / 0.5983 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.565e-05/0.3432, allocations: 3.984 kB / 0.5983 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.3433, allocations: 35.41 kB / 0.5983 GB, free: 13.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.3433, allocations: 1.438 kB / 0.5983 GB, free: 13.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.000311/0.3436, allocations: 90.52 kB / 0.5984 GB, free: 13.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/0.3436, allocations: 51.41 kB / 0.5984 GB, free: 13.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.591e-05/0.3437, allocations: 107 kB / 0.5985 GB, free: 13.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.3437, allocations: 25.7 kB / 0.5986 GB, free: 13.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.103e-05/0.3437, allocations: 81.64 kB / 0.5986 GB, free: 12.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.3438, allocations: 11.91 kB / 0.5986 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/0.3438, allocations: 9.719 kB / 0.5987 GB, free: 12.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.903e-05/0.3439, allocations: 315.5 kB / 0.599 GB, free: 12.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.305e-05/0.3439, allocations: 21.58 kB / 0.599 GB, free: 12.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.334e-05/0.344, allocations: 15.98 kB / 0.599 GB, free: 12.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.3441, allocations: 48.06 kB / 0.599 GB, free: 12.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3441, allocations: 0 / 0.599 GB, free: 12.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001588/0.3443, allocations: 81.44 kB / 0.5991 GB, free: 12.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.3443, allocations: 6.188 kB / 0.5991 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3443, allocations: 1.375 kB / 0.5991 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3444, allocations: 3.984 kB / 0.5991 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.943e-05/0.3444, allocations: 8.25 kB / 0.5991 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.3445, allocations: 5.297 kB / 0.5991 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.234e-05/0.3445, allocations: 9.828 kB / 0.5992 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.3445, allocations: 0 / 0.5992 GB, free: 12.4 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 5.478e-05/0.3446, allocations: 119.1 kB / 0.5993 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.3446, allocations: 0 / 0.5993 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001944/0.3448, allocations: 78.64 kB / 0.5993 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.3448, allocations: 5.344 kB / 0.5993 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3448, allocations: 0 / 0.5993 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3448, allocations: 4 kB / 0.5993 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.3449, allocations: 165.6 kB / 0.5995 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.345, allocations: 1.344 kB / 0.5995 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.078e-05/0.345, allocations: 11.94 kB / 0.5995 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.345, allocations: 0 / 0.5995 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.345, allocations: 5.172 kB / 0.5995 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.345, allocations: 0 / 0.5995 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.345, allocations: 0 / 0.5995 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.3452, allocations: 169.7 kB / 0.5997 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.9e-05/0.3452, allocations: 81.02 kB / 0.5998 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.3453, allocations: 5.281 kB / 0.5998 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.759e-05/0.3453, allocations: 7.984 kB / 0.5998 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.3454, allocations: 5.312 kB / 0.5998 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.3454, allocations: 0 / 0.5998 GB, free: 11.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.55e-05/0.3454, allocations: 83.28 kB / 0.5999 GB, free: 11.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3454, allocations: 3.938 kB / 0.5999 GB, free: 11.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002173/0.3456, allocations: 13.33 kB / 0.5999 GB, free: 11.57 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 0.0001121/0.3458, allocations: 100.6 kB / 0.6 GB, free: 11.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002012/0.346, allocations: 40.89 kB / 0.6 GB, free: 11.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.346, allocations: 0 / 0.6 GB, free: 11.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.425e-05/0.3461, allocations: 21.33 kB / 0.6 GB, free: 11.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.3463, allocations: 7.938 kB / 0.6 GB, free: 11.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002293/0.3466, allocations: 118.9 kB / 0.6002 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.3467, allocations: 0.6845 MB / 0.6008 GB, free: 10.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.953e-05/0.3467, allocations: 1.375 kB / 0.6008 GB, free: 10.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.539e-05/0.3467, allocations: 7.438 kB / 0.6008 GB, free: 10.54 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3467, allocations: 0 / 0.6008 GB, free: 10.54 MB / 446.1 MB Notification: Performance of Templates: time 0.002397/0.3491, allocations: 0.541 MB / 0.6014 GB, free: 10.02 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1)