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.001278/0.001278, allocations: 109.3 kB / 16.38 MB, free: 6.457 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.001757/0.001757, allocations: 186.7 kB / 17.31 MB, free: 5.812 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.36/1.36, 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.69/1.69, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.00147/0.00147, allocations: 63.91 kB / 0.6729 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2336, allocations: 114.6 MB / 0.7848 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.003585/0.2373, allocations: 1.434 MB / 0.7862 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004089/0.2377, allocations: 92.58 kB / 0.7863 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.708e-05/0.2378, allocations: 4 kB / 0.7863 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 7.678e-05/0.2379, allocations: 7.875 kB / 0.7863 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.491e-05/0.238, allocations: 7.922 kB / 0.7863 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.2383, allocations: 19.98 kB / 0.7863 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.458e-05/0.2384, allocations: 23.92 kB / 0.7863 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.2385, allocations: 4 kB / 0.7863 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.173e-05/0.2386, allocations: 8 kB / 0.7864 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.562e-05/0.2386, allocations: 11.92 kB / 0.7864 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.2386, allocations: 4 kB / 0.7864 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.2387, allocations: 15.98 kB / 0.7864 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.638e-05/0.2388, allocations: 15.97 kB / 0.7864 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.386e-05/0.2388, allocations: 7.938 kB / 0.7864 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.239, allocations: 35.89 kB / 0.7864 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.239, allocations: 0 / 0.7864 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.924e-06/0.239, allocations: 3.938 kB / 0.7864 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.239, allocations: 0 / 0.7864 GB, free: 1.418 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.0005264/0.2396, allocations: 347.4 kB / 0.7868 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.2396, allocations: 8.031 kB / 0.7868 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.2397, allocations: 4.938 kB / 0.7868 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.2398, allocations: 168.3 kB / 0.7869 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.2398, allocations: 4.312 kB / 0.787 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.2398, allocations: 8.375 kB / 0.787 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.24, allocations: 50.23 kB / 0.787 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.2401, allocations: 192 / 0.787 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.2401, allocations: 7.922 kB / 0.787 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.2401, allocations: 0 / 0.787 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.2403, allocations: 35.97 kB / 0.7871 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.2406, allocations: 256.9 kB / 0.7873 GB, free: 412 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.2408, allocations: 42.48 kB / 0.7873 GB, free: 360 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.587e-05/0.2408, allocations: 24.91 kB / 0.7874 GB, free: 332 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.027e-05/0.2409, allocations: 7.984 kB / 0.7874 GB, free: 324 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.2409, allocations: 34.56 kB / 0.7874 GB, free: 280 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.2409, allocations: 4 kB / 0.7874 GB, free: 276 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003557/0.2413, allocations: 89.58 kB / 0.7875 GB, free: 180 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.2413, allocations: 51.41 kB / 0.7875 GB, free: 116 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.66e-05/0.2414, allocations: 105.8 kB / 0.7876 GB, free: 0 / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.6254, allocations: 25.81 kB / 0.7877 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.6254, allocations: 83.45 kB / 0.7877 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.6255, allocations: 14.09 kB / 0.7878 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.6255, allocations: 14.86 kB / 0.7878 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.379e-05/0.6256, allocations: 318.2 kB / 0.7881 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.6257, allocations: 18.67 kB / 0.7881 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.786e-05/0.6258, allocations: 18.91 kB / 0.7881 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.626, allocations: 45.64 kB / 0.7882 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.626, allocations: 1.719 kB / 0.7882 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002134/0.6262, allocations: 72.09 kB / 0.7882 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.6262, allocations: 8.25 kB / 0.7882 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.6262, allocations: 1 kB / 0.7882 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.6263, allocations: 0 / 0.7882 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.792e-05/0.6264, allocations: 12.81 kB / 0.7882 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.6264, allocations: 0 / 0.7882 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.893e-05/0.6264, allocations: 5.812 kB / 0.7883 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.6264, allocations: 0 / 0.7883 GB, free: 48.4 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 6.156e-05/0.6265, allocations: 114 kB / 0.7884 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.6265, allocations: 4.281 kB / 0.7884 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002302/0.6268, allocations: 79.41 kB / 0.7884 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.6268, allocations: 9.891 kB / 0.7884 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.6268, allocations: 1.125 kB / 0.7885 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.731e-05/0.6268, allocations: 79.45 kB / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.6268, allocations: 2.656 kB / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.425e-05/0.6269, allocations: 8.969 kB / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.627, allocations: 2.469 kB / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002163/0.6272, allocations: 154.6 kB / 0.7887 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002035/0.6274, allocations: 239.7 kB / 0.7889 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.525e-05/0.6275, allocations: 26.42 kB / 0.7889 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.742e-05/0.6275, allocations: 84.47 kB / 0.789 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of Backend: time 7.11e-07/0.6275, allocations: 0 / 0.789 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004502/0.628, allocations: 100.2 kB / 0.7891 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0003617/0.6284, allocations: 0.5615 MB / 0.7897 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of Templates: time 0.002619/0.631, allocations: 0.6434 MB / 0.7903 GB, free: 47.15 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)