Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008797/0.0008797, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.006354/0.006354, allocations: 170.7 kB / 16.26 MB, free: 6.613 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.445/1.445, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.824/2.824, allocations: 473.4 MB / 0.7469 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004044/0.0004045, allocations: 11.62 kB / 0.9158 GB, free: 33.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3175, allocations: 162.2 MB / 1.074 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0008818/0.3185, allocations: 322.9 kB / 1.074 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000308/0.3188, allocations: 35.84 kB / 1.074 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.113e-05/0.3188, allocations: 0 / 1.074 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.928e-05/0.3189, allocations: 0 / 1.074 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.683e-06/0.3189, allocations: 0 / 1.074 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002907/0.3192, allocations: 15.97 kB / 1.074 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.333e-05/0.3193, allocations: 8 kB / 1.075 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.122e-05/0.3193, allocations: 0 / 1.075 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.939e-05/0.3193, allocations: 0 / 1.075 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.82e-05/0.3194, allocations: 7.984 kB / 1.075 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.3194, allocations: 0 / 1.075 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.3196, allocations: 23.92 kB / 1.075 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.3196, allocations: 0 / 1.075 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.189e-05/0.3196, allocations: 25.7 kB / 1.075 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.3197, allocations: 11.97 kB / 1.075 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3197, allocations: 4 kB / 1.075 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3197, allocations: 0 / 1.075 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.3198, allocations: 4 kB / 1.075 GB, free: 7.023 MB / 0.8262 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.0003202/0.3201, allocations: 311.5 kB / 1.075 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.3201, allocations: 12.09 kB / 1.075 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/0.3202, allocations: 4.875 kB / 1.075 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.02e-05/0.3203, allocations: 160.4 kB / 1.075 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.3203, allocations: 384 / 1.075 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.3203, allocations: 384 / 1.075 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.3204, allocations: 34.25 kB / 1.075 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.3204, allocations: 192 / 1.075 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.3205, allocations: 7.938 kB / 1.075 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.3205, allocations: 0 / 1.075 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.425e-05/0.3205, allocations: 3.938 kB / 1.075 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001617/0.3207, allocations: 145.7 kB / 1.075 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.216e-05/0.3207, allocations: 18.58 kB / 1.075 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.42e-05/0.3208, allocations: 8.891 kB / 1.075 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.169e-05/0.3208, allocations: 4 kB / 1.075 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.3208, allocations: 38.55 kB / 1.075 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.3209, allocations: 0 / 1.075 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001555/0.321, allocations: 41.58 kB / 1.075 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.3211, allocations: 51.41 kB / 1.075 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.294e-05/0.3211, allocations: 93.86 kB / 1.075 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.3211, allocations: 25.7 kB / 1.075 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.377e-05/0.3212, allocations: 80.14 kB / 1.076 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.3212, allocations: 0 / 1.076 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.362e-05/0.3212, allocations: 13.84 kB / 1.076 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.751e-05/0.3213, allocations: 310.8 kB / 1.076 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.223e-05/0.3213, allocations: 7.984 kB / 1.076 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.623e-06/0.3214, allocations: 0 / 1.076 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.873e-05/0.3214, allocations: 8.859 kB / 1.076 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3214, allocations: 3.938 kB / 1.076 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.22e-05/0.3215, allocations: 33.7 kB / 1.076 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.3215, allocations: 8 kB / 1.076 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3215, allocations: 4.094 kB / 1.076 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3215, allocations: 7.938 kB / 1.076 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.199e-05/0.3216, allocations: 0 / 1.076 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3216, allocations: 3.984 kB / 1.076 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.383e-05/0.3216, allocations: 0 / 1.076 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.3216, allocations: 4 kB / 1.076 GB, free: 5.379 MB / 0.8262 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 6.539e-05/0.3217, allocations: 107.6 kB / 1.076 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-06/0.3217, allocations: 7.844 kB / 1.076 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.3218, allocations: 60.67 kB / 1.076 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3218, allocations: 0 / 1.076 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3219, allocations: 0 / 1.076 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3219, allocations: 0 / 1.076 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.313e-05/0.3219, allocations: 141.7 kB / 1.076 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.322, allocations: 4 kB / 1.076 GB, free: 5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.866e-05/0.322, allocations: 0 / 1.076 GB, free: 5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.322, allocations: 0 / 1.076 GB, free: 5 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.322, allocations: 7.953 kB / 1.076 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.322, allocations: 7.984 kB / 1.076 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.322, allocations: 4 kB / 1.076 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.348e-05/0.3221, allocations: 57.14 kB / 1.076 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.925e-05/0.3221, allocations: 77.11 kB / 1.076 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.3222, allocations: 7.922 kB / 1.076 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.117e-05/0.3222, allocations: 7.938 kB / 1.076 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.117e-05/0.3222, allocations: 0 / 1.076 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.3222, allocations: 7.969 kB / 1.076 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.894e-05/0.3222, allocations: 77.45 kB / 1.077 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3222, allocations: 0 / 1.077 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002106/0.3224, allocations: 8 kB / 1.077 GB, free: 4.707 MB / 0.8262 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.0001686/0.3226, allocations: 103.2 kB / 1.077 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.656e-05/0.3227, allocations: 4 kB / 1.077 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.3227, allocations: 0 / 1.077 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.324e-06/0.3227, allocations: 4.062 kB / 1.077 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.3229, allocations: 7.984 kB / 1.077 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001805/0.3231, allocations: 78.7 kB / 1.077 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.3233, allocations: 0.6731 MB / 1.077 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.793e-05/0.3233, allocations: 4 kB / 1.077 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.732e-05/0.3233, allocations: 11.5 kB / 1.077 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3233, allocations: 0 / 1.077 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of Templates: time 0.002421/0.3258, allocations: 276.6 kB / 1.078 GB, free: 3.488 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)