Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.435/1.435, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 170.7 kB / 326.5 MB, free: 2.719 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.043/2.043, allocations: 205 MB / 0.5766 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007843/0.000784, allocations: 80.86 kB / 0.6803 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.0003379, allocations: 11.94 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2496, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0007236/0.2504, allocations: 331.3 kB / 0.8971 GB, free: 67.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002472/0.2506, allocations: 35.88 kB / 0.8971 GB, free: 67.83 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.979e-06/0.2506, allocations: 0 / 0.8971 GB, free: 67.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.736e-05/0.2507, allocations: 4 kB / 0.8971 GB, free: 67.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.292e-06/0.2507, allocations: 0 / 0.8971 GB, free: 67.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.2509, allocations: 19.92 kB / 0.8971 GB, free: 67.8 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.587e-05/0.251, allocations: 4 kB / 0.8971 GB, free: 67.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.115e-05/0.251, allocations: 0 / 0.8971 GB, free: 67.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.902e-05/0.2511, allocations: 11.92 kB / 0.8971 GB, free: 67.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.003e-05/0.2511, allocations: 0 / 0.8971 GB, free: 67.79 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.057e-06/0.2511, allocations: 0 / 0.8971 GB, free: 67.79 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.414e-05/0.2512, allocations: 15.98 kB / 0.8971 GB, free: 67.77 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.807e-06/0.2512, allocations: 0 / 0.8971 GB, free: 67.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.856e-05/0.2512, allocations: 0 / 0.8971 GB, free: 67.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.671e-05/0.2513, allocations: 11.98 kB / 0.8972 GB, free: 67.76 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.2513, allocations: 4 kB / 0.8972 GB, free: 67.76 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.933e-06/0.2513, allocations: 0 / 0.8972 GB, free: 67.76 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.2513, allocations: 4 kB / 0.8972 GB, free: 67.75 MB / 0.6042 GB 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.0002397/0.2516, allocations: 307.5 kB / 0.8975 GB, free: 67.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.2516, allocations: 8.094 kB / 0.8975 GB, free: 67.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.2517, allocations: 8.844 kB / 0.8975 GB, free: 67.39 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.528e-05/0.2517, allocations: 160.4 kB / 0.8976 GB, free: 67.19 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.2517, allocations: 4.312 kB / 0.8976 GB, free: 67.19 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.2518, allocations: 8.359 kB / 0.8976 GB, free: 67.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.606e-05/0.2519, allocations: 30.25 kB / 0.8977 GB, free: 67.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.2519, allocations: 4.188 kB / 0.8977 GB, free: 67.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.2519, allocations: 3.938 kB / 0.8977 GB, free: 67.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.2519, allocations: 0 / 0.8977 GB, free: 67.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.932e-05/0.2519, allocations: 0 / 0.8977 GB, free: 67.14 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001052/0.252, allocations: 146 kB / 0.8978 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.138e-05/0.2521, allocations: 22.55 kB / 0.8978 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.386e-05/0.2521, allocations: 12.8 kB / 0.8978 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.269e-05/0.2521, allocations: 4.062 kB / 0.8979 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.2522, allocations: 38.55 kB / 0.8979 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.2522, allocations: 3.938 kB / 0.8979 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001158/0.2523, allocations: 37.64 kB / 0.8979 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.167e-05/0.2523, allocations: 55.41 kB / 0.898 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.886e-05/0.2523, allocations: 89.86 kB / 0.8981 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.265e-06/0.2523, allocations: 29.83 kB / 0.8981 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.299e-05/0.2524, allocations: 80.14 kB / 0.8982 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.2524, allocations: 3.938 kB / 0.8982 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-05/0.2524, allocations: 9.719 kB / 0.8982 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.915e-05/0.2525, allocations: 314.8 kB / 0.8985 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.578e-06/0.2525, allocations: 7.938 kB / 0.8985 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.2e-06/0.2525, allocations: 0 / 0.8985 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.414e-05/0.2525, allocations: 12.86 kB / 0.8985 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2525, allocations: 4.062 kB / 0.8985 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.265e-05/0.2526, allocations: 29.7 kB / 0.8985 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.2526, allocations: 6.5 kB / 0.8985 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.2526, allocations: 0 / 0.8985 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.2526, allocations: 7.938 kB / 0.8986 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.273e-05/0.2527, allocations: 3.984 kB / 0.8986 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.2527, allocations: 3.984 kB / 0.8986 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.34e-05/0.2527, allocations: 0 / 0.8986 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.2527, allocations: 7.938 kB / 0.8986 GB, free: 66.09 MB / 0.6042 GB 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 5.016e-05/0.2528, allocations: 109.9 kB / 0.8987 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.321e-06/0.2528, allocations: 0 / 0.8987 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.63e-05/0.2529, allocations: 48.75 kB / 0.8987 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.2529, allocations: 0 / 0.8987 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2529, allocations: 0 / 0.8987 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.2529, allocations: 0 / 0.8987 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.46e-05/0.253, allocations: 141.7 kB / 0.8989 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.253, allocations: 4.031 kB / 0.8989 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.502e-05/0.253, allocations: 4 kB / 0.8989 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.253, allocations: 0 / 0.8989 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.253, allocations: 7.922 kB / 0.8989 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.253, allocations: 0 / 0.8989 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.253, allocations: 0 / 0.8989 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.11e-05/0.2531, allocations: 61.08 kB / 0.8989 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.777e-05/0.2531, allocations: 77.11 kB / 0.899 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.2531, allocations: 15.89 kB / 0.899 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.062e-05/0.2531, allocations: 0 / 0.899 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.157e-05/0.2532, allocations: 4 kB / 0.899 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.2532, allocations: 3.938 kB / 0.899 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.422e-05/0.2532, allocations: 76.03 kB / 0.8991 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2532, allocations: 0 / 0.8991 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002199/0.2534, allocations: 8 kB / 0.8991 GB, free: 65.44 MB / 0.6042 GB 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.0001567/0.2536, allocations: 103.2 kB / 0.8992 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.638e-05/0.2537, allocations: 12 kB / 0.8992 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2537, allocations: 4 kB / 0.8992 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.001e-06/0.2537, allocations: 3.938 kB / 0.8992 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.2538, allocations: 7.922 kB / 0.8992 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001619/0.254, allocations: 102.5 kB / 0.8993 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.61e-05/0.2541, allocations: 0.6692 MB / 0.9 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.203e-05/0.2541, allocations: 11.56 kB / 0.9 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of SimCode: time 5.21e-07/0.2541, allocations: 4 kB / 0.9 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of Templates: time 0.001542/0.2557, allocations: 443.2 kB / 0.9004 GB, free: 64.03 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)