Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.512/1.512, allocations: 292.3 MB / 308.1 MB, free: 4.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00117/0.001169, allocations: 201.9 kB / 376.9 MB, free: 1.785 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.1 MB / 0.6354 GB, free: 9.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00128/0.00128, allocations: 96.36 kB / 0.748 GB, free: 61.13 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00102/0.00102, allocations: 56.11 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2305, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001822/0.2324, allocations: 0.6471 MB / 0.9829 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002367/0.2326, allocations: 35.88 kB / 0.9829 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.969e-06/0.2327, allocations: 0 / 0.9829 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.596e-05/0.2327, allocations: 7.938 kB / 0.9829 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.129e-06/0.2327, allocations: 3.938 kB / 0.9829 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.2329, allocations: 7.984 kB / 0.9829 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 3.63e-05/0.233, allocations: 8 kB / 0.9829 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.845e-05/0.233, allocations: 3.984 kB / 0.9829 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 1.621e-05/0.233, allocations: 7.938 kB / 0.9829 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.899e-05/0.2331, allocations: 0 / 0.9829 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.428e-06/0.2331, allocations: 0 / 0.9829 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.844e-05/0.2332, allocations: 15.98 kB / 0.9829 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.045e-06/0.2332, allocations: 0 / 0.9829 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.912e-05/0.2332, allocations: 3.984 kB / 0.983 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.009e-05/0.2333, allocations: 19.98 kB / 0.983 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2333, allocations: 0 / 0.983 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2333, allocations: 0 / 0.983 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.2333, allocations: 0 / 0.983 GB, free: 9.602 MB / 0.7136 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.0002743/0.2336, allocations: 315.6 kB / 0.9833 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.2337, allocations: 8.031 kB / 0.9833 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/0.2337, allocations: 0.9375 kB / 0.9833 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.629e-05/0.2338, allocations: 164.3 kB / 0.9834 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.2338, allocations: 4.375 kB / 0.9834 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.984e-06/0.2338, allocations: 4.375 kB / 0.9834 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.551e-05/0.2339, allocations: 26.27 kB / 0.9835 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.2339, allocations: 192 / 0.9835 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.2339, allocations: 3.938 kB / 0.9835 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.234, allocations: 4 kB / 0.9835 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.169e-05/0.234, allocations: 3.984 kB / 0.9835 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001468/0.2341, allocations: 149.6 kB / 0.9836 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.683e-05/0.2342, allocations: 22.55 kB / 0.9836 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.777e-05/0.2342, allocations: 8.859 kB / 0.9837 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.2342, allocations: 4.062 kB / 0.9837 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.2343, allocations: 34.56 kB / 0.9837 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.2343, allocations: 0 / 0.9837 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001456/0.2344, allocations: 37.62 kB / 0.9837 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.2345, allocations: 51.41 kB / 0.9838 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.619e-05/0.2345, allocations: 93.8 kB / 0.9839 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.2345, allocations: 33.83 kB / 0.9839 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.65e-05/0.2346, allocations: 84.14 kB / 0.984 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.2346, allocations: 7.891 kB / 0.984 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.77e-05/0.2347, allocations: 9.719 kB / 0.984 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.2348, allocations: 314.8 kB / 0.9843 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.022e-05/0.2348, allocations: 4 kB / 0.9843 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.926e-06/0.2348, allocations: 4 kB / 0.9843 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.183e-05/0.2349, allocations: 16.91 kB / 0.9843 GB, free: 8 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2349, allocations: 3.938 kB / 0.9843 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.233e-05/0.2349, allocations: 29.7 kB / 0.9844 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.235, allocations: 8 kB / 0.9844 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.235, allocations: 0 / 0.9844 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.235, allocations: 3.938 kB / 0.9844 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.889e-05/0.235, allocations: 3.938 kB / 0.9844 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.2351, allocations: 0 / 0.9844 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.625e-05/0.2351, allocations: 7.984 kB / 0.9844 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.2351, allocations: 3.984 kB / 0.9844 GB, free: 7.934 MB / 0.7136 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 7.811e-05/0.2352, allocations: 117.9 kB / 0.9845 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.715e-06/0.2352, allocations: 0 / 0.9845 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.2353, allocations: 40.77 kB / 0.9845 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.2353, allocations: 3.984 kB / 0.9845 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2353, allocations: 0 / 0.9845 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2353, allocations: 0 / 0.9845 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.2354, allocations: 149.7 kB / 0.9847 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.2354, allocations: 4 kB / 0.9847 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.934e-05/0.2355, allocations: 0 / 0.9847 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.2355, allocations: 0 / 0.9847 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.2355, allocations: 7.875 kB / 0.9847 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.2355, allocations: 3.938 kB / 0.9847 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2355, allocations: 4 kB / 0.9847 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003366/0.2358, allocations: 0.6045 MB / 0.9853 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.397e-05/0.2359, allocations: 77.39 kB / 0.9854 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.2359, allocations: 4 kB / 0.9854 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.052e-05/0.2359, allocations: 0 / 0.9854 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.496e-05/0.2359, allocations: 0 / 0.9854 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.236, allocations: 0 / 0.9854 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.334e-05/0.236, allocations: 75.28 kB / 0.9854 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.2e-07/0.236, allocations: 0 / 0.9854 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002803/0.2363, allocations: 8 kB / 0.9854 GB, free: 6.703 MB / 0.7136 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.0001476/0.2364, allocations: 107.2 kB / 0.9855 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.902e-05/0.2365, allocations: 8 kB / 0.9856 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2365, allocations: 0 / 0.9856 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.592e-06/0.2365, allocations: 0 / 0.9856 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001209/0.2366, allocations: 13.98 kB / 0.9856 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002217/0.2369, allocations: 177.7 kB / 0.9857 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.2371, allocations: 0.681 MB / 0.9864 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.929e-05/0.2371, allocations: 7.938 kB / 0.9864 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.954e-05/0.2372, allocations: 11.44 kB / 0.9864 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.2372, allocations: 0 / 0.9864 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of Templates: time 0.001846/0.239, allocations: 284.6 kB / 0.9867 GB, free: 5.352 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)