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.001205/0.001205, allocations: 105.6 kB / 16.35 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.001161/0.001161, allocations: 198.2 kB / 17.3 MB, free: 5.879 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.18 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.9168/0.9168, allocations: 143.1 MB / 434.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 63.91 kB / 0.5156 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3943, allocations: 82.03 MB / 0.5957 GB, free: 16.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial): time 0.002165/0.3965, allocations: 1.431 MB / 0.5971 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002496/0.3968, allocations: 93.09 kB / 0.5972 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.325e-05/0.3968, allocations: 0 / 0.5972 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.088e-05/0.3969, allocations: 5.266 kB / 0.5972 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.748e-05/0.3969, allocations: 3.938 kB / 0.5972 GB, free: 14.78 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.3972, allocations: 29.23 kB / 0.5972 GB, free: 14.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.323e-05/0.3972, allocations: 23.91 kB / 0.5972 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.558e-05/0.3973, allocations: 8 kB / 0.5972 GB, free: 14.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.477e-05/0.3974, allocations: 9.234 kB / 0.5972 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.381e-05/0.3974, allocations: 11.94 kB / 0.5973 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.3974, allocations: 0 / 0.5973 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.685e-05/0.3975, allocations: 28.5 kB / 0.5973 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.391e-05/0.3975, allocations: 4 kB / 0.5973 GB, free: 14.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.137e-05/0.3976, allocations: 12.44 kB / 0.5973 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.415e-05/0.3977, allocations: 37.31 kB / 0.5973 GB, free: 14.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.3977, allocations: 0 / 0.5973 GB, free: 14.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3977, allocations: 4 kB / 0.5973 GB, free: 14.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.3977, allocations: 0 / 0.5973 GB, free: 14.62 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.0003224/0.398, allocations: 346.6 kB / 0.5977 GB, free: 14.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.3981, allocations: 13.19 kB / 0.5977 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.735e-05/0.3981, allocations: 0.9375 kB / 0.5977 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.577e-05/0.3982, allocations: 180.2 kB / 0.5979 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.727e-06/0.3982, allocations: 2.312 kB / 0.5979 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.3982, allocations: 384 / 0.5979 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.3983, allocations: 54.17 kB / 0.5979 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3984, allocations: 192 / 0.5979 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.3984, allocations: 11.03 kB / 0.5979 GB, free: 13.94 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.3984, allocations: 3.938 kB / 0.5979 GB, free: 13.94 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.3985, allocations: 35.95 kB / 0.598 GB, free: 13.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002633/0.3988, allocations: 249 kB / 0.5982 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.3989, allocations: 52.52 kB / 0.5982 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.027e-05/0.399, allocations: 24.91 kB / 0.5983 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/0.399, allocations: 1.5 kB / 0.5983 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/0.3991, allocations: 30.56 kB / 0.5983 GB, free: 13.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.713e-06/0.3991, allocations: 3.984 kB / 0.5983 GB, free: 13.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002987/0.3994, allocations: 91.88 kB / 0.5984 GB, free: 13.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.04e-05/0.3994, allocations: 51.41 kB / 0.5984 GB, free: 13.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.075e-05/0.3995, allocations: 102.8 kB / 0.5985 GB, free: 13.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.772e-06/0.3995, allocations: 29.7 kB / 0.5986 GB, free: 13.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.435e-05/0.3995, allocations: 85.22 kB / 0.5986 GB, free: 13.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.416e-05/0.3995, allocations: 7.906 kB / 0.5987 GB, free: 13.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/0.3995, allocations: 23.03 kB / 0.5987 GB, free: 13.06 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.797e-05/0.3996, allocations: 310.8 kB / 0.599 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.224e-05/0.3997, allocations: 24.66 kB / 0.599 GB, free: 12.72 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.924e-05/0.3997, allocations: 13.45 kB / 0.599 GB, free: 12.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.3999, allocations: 46.33 kB / 0.5991 GB, free: 12.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3999, allocations: 0 / 0.5991 GB, free: 12.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001532/0.4, allocations: 74.06 kB / 0.5991 GB, free: 12.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.4, allocations: 9.5 kB / 0.5991 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.4, allocations: 0 / 0.5991 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.4001, allocations: 0 / 0.5991 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.637e-05/0.4001, allocations: 7.984 kB / 0.5991 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.4002, allocations: 9.438 kB / 0.5991 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.902e-05/0.4002, allocations: 3.984 kB / 0.5992 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.4002, allocations: 4 kB / 0.5992 GB, free: 12.55 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.082e-05/0.4003, allocations: 114.5 kB / 0.5993 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.4003, allocations: 4.781 kB / 0.5993 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002003/0.4005, allocations: 80.23 kB / 0.5993 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4005, allocations: 0 / 0.5993 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.4005, allocations: 0 / 0.5993 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.4005, allocations: 0 / 0.5993 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.4006, allocations: 161.6 kB / 0.5995 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4006, allocations: 256 / 0.5995 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.183e-05/0.4007, allocations: 17.42 kB / 0.5995 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.4007, allocations: 4 kB / 0.5995 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.77e-06/0.4007, allocations: 0 / 0.5995 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4007, allocations: 0 / 0.5995 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4007, allocations: 5.281 kB / 0.5995 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.4009, allocations: 169.6 kB / 0.5997 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.546e-05/0.4009, allocations: 85 kB / 0.5998 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.4009, allocations: 0 / 0.5998 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.017e-05/0.401, allocations: 5.344 kB / 0.5998 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.401, allocations: 3.984 kB / 0.5998 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-06/0.4011, allocations: 4 kB / 0.5998 GB, free: 11.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.252e-05/0.4011, allocations: 84.81 kB / 0.5999 GB, free: 11.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4011, allocations: 0 / 0.5999 GB, free: 11.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002208/0.4013, allocations: 8 kB / 0.5999 GB, free: 11.73 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.0001065/0.4014, allocations: 104.5 kB / 0.6 GB, free: 11.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001778/0.4016, allocations: 41.19 kB / 0.6 GB, free: 11.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4016, allocations: 0 / 0.6 GB, free: 11.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.582e-05/0.4017, allocations: 25 kB / 0.6 GB, free: 11.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.402, allocations: 11.86 kB / 0.6 GB, free: 11.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000211/0.4022, allocations: 123.9 kB / 0.6002 GB, free: 11.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.512e-05/0.4023, allocations: 0.6768 MB / 0.6008 GB, free: 10.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.087e-05/0.4023, allocations: 4 kB / 0.6008 GB, free: 10.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.683e-05/0.4024, allocations: 8.906 kB / 0.6008 GB, free: 10.69 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4024, allocations: 0 / 0.6008 GB, free: 10.69 MB / 446.1 MB Notification: Performance of Templates: time 0.002319/0.4047, allocations: 0.5368 MB / 0.6014 GB, free: 10.18 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 cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1)