Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Polynominal") translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Polynominal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 100.3 kB / 16.35 MB, free: 6.348 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.001234/0.001234, allocations: 196.8 kB / 17.29 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.818/1.818, allocations: 292.3 MB / 0.5496 GB, free: 17.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 63.91 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2337, allocations: 114.5 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.003223/0.237, allocations: 1.434 MB / 0.7862 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003071/0.2373, allocations: 96.58 kB / 0.7863 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.271e-05/0.2374, allocations: 0 / 0.7863 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.38e-05/0.2375, allocations: 0 / 0.7863 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.989e-05/0.2375, allocations: 7.922 kB / 0.7863 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.2378, allocations: 15.98 kB / 0.7863 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.457e-05/0.2379, allocations: 27.92 kB / 0.7863 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.85e-05/0.238, allocations: 4 kB / 0.7863 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.52e-05/0.238, allocations: 15.92 kB / 0.7863 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.042e-05/0.2381, allocations: 11.92 kB / 0.7863 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.2381, allocations: 0 / 0.7863 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.2382, allocations: 23.92 kB / 0.7864 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.34e-05/0.2383, allocations: 4 kB / 0.7864 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.693e-05/0.2383, allocations: 7.938 kB / 0.7864 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.2384, allocations: 39.88 kB / 0.7864 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.2384, allocations: 0 / 0.7864 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2384, allocations: 4 kB / 0.7864 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.2385, allocations: 0 / 0.7864 GB, free: 1.473 MB / 0.6544 GB 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.0004503/0.2389, allocations: 347.4 kB / 0.7867 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.239, allocations: 12.03 kB / 0.7868 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.542e-05/0.239, allocations: 4.922 kB / 0.7868 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.2391, allocations: 164.3 kB / 0.7869 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.2391, allocations: 8.359 kB / 0.7869 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.2392, allocations: 384 / 0.7869 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.2394, allocations: 58.17 kB / 0.787 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.2394, allocations: 192 / 0.787 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.2394, allocations: 3.938 kB / 0.787 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.2394, allocations: 4 kB / 0.787 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001683/0.2396, allocations: 35.95 kB / 0.787 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003524/0.2399, allocations: 252.9 kB / 0.7873 GB, free: 468 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.2401, allocations: 50.53 kB / 0.7873 GB, free: 408 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.72e-05/0.2402, allocations: 20.91 kB / 0.7873 GB, free: 384 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.016e-05/0.2402, allocations: 7.938 kB / 0.7873 GB, free: 376 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.2403, allocations: 34.55 kB / 0.7874 GB, free: 332 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 2.886e-06/0.2403, allocations: 0 / 0.7874 GB, free: 332 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003556/0.2406, allocations: 93.58 kB / 0.7875 GB, free: 232 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.2407, allocations: 51.41 kB / 0.7875 GB, free: 168 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.221e-05/0.2408, allocations: 105.8 kB / 0.7876 GB, free: 52 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.2408, allocations: 25.7 kB / 0.7876 GB, free: 20 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.3655/0.6063, allocations: 84.95 kB / 0.7877 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.6064, allocations: 10.06 kB / 0.7877 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.6064, allocations: 14.81 kB / 0.7877 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.898e-05/0.6065, allocations: 312.7 kB / 0.788 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.6066, allocations: 20.22 kB / 0.7881 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.306e-05/0.6067, allocations: 23.84 kB / 0.7881 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.6068, allocations: 41.09 kB / 0.7881 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.6069, allocations: 2.625 kB / 0.7881 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002169/0.6071, allocations: 74.86 kB / 0.7882 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.6071, allocations: 5.25 kB / 0.7882 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.6071, allocations: 2.625 kB / 0.7882 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-05/0.6071, allocations: 1.938 kB / 0.7882 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.153e-05/0.6072, allocations: 12 kB / 0.7882 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.6072, allocations: 1.719 kB / 0.7882 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.119e-05/0.6073, allocations: 8.938 kB / 0.7882 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.6073, allocations: 0.5938 kB / 0.7882 GB, free: 48.48 MB / 0.6544 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 (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.344e-05/0.6074, allocations: 112.1 kB / 0.7883 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.6074, allocations: 2.5 kB / 0.7883 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/0.6076, allocations: 78.95 kB / 0.7884 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.6076, allocations: 3.938 kB / 0.7884 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.6077, allocations: 5.891 kB / 0.7884 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.6077, allocations: 0 / 0.7884 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.6078, allocations: 161.3 kB / 0.7886 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6078, allocations: 0 / 0.7886 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.836e-05/0.6079, allocations: 11.48 kB / 0.7886 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.6079, allocations: 0 / 0.7886 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.6079, allocations: 2.531 kB / 0.7886 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.6079, allocations: 3.938 kB / 0.7886 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.6079, allocations: 2.75 kB / 0.7886 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.6081, allocations: 164.8 kB / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.936e-05/0.6081, allocations: 80.7 kB / 0.7888 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.6082, allocations: 0 / 0.7888 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.465e-05/0.6082, allocations: 20 kB / 0.7888 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.6083, allocations: 1.062 kB / 0.7888 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.6083, allocations: 2.156 kB / 0.7888 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.182e-05/0.6083, allocations: 87.58 kB / 0.7889 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6083, allocations: 2.094 kB / 0.7889 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002353/0.6086, allocations: 9.062 kB / 0.7889 GB, free: 47.84 MB / 0.6544 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 (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.0001281/0.6087, allocations: 104.6 kB / 0.789 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002081/0.6089, allocations: 48.12 kB / 0.7891 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.6089, allocations: 0 / 0.7891 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.484e-05/0.609, allocations: 13.7 kB / 0.7891 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.6093, allocations: 6.797 kB / 0.7891 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002448/0.6096, allocations: 113.2 kB / 0.7892 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.6097, allocations: 0.6805 MB / 0.7899 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.247e-05/0.6097, allocations: 2.719 kB / 0.7899 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.911e-05/0.6097, allocations: 10.41 kB / 0.7899 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.6097, allocations: 0 / 0.7899 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of Templates: time 0.002657/0.6124, allocations: 0.534 MB / 0.7904 GB, free: 46.96 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.Polynominal -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)