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.001341/0.001341, allocations: 105.1 kB / 15.98 MB, free: 6.352 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.001065/0.001065, allocations: 195.6 kB / 16.91 MB, free: 6.188 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.546/1.546, allocations: 205.1 MB / 222.8 MB, free: 4.703 MB / 174.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.667/1.667, allocations: 292.3 MB / 0.5492 GB, free: 13.64 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.001376/0.001376, allocations: 67.09 kB / 0.6716 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2327, allocations: 114.6 MB / 0.7835 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.002399/0.2351, allocations: 1.483 MB / 0.785 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002609/0.2354, allocations: 104.5 kB / 0.7851 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.219e-05/0.2354, allocations: 0 / 0.7851 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.629e-05/0.2355, allocations: 0 / 0.7851 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.986e-05/0.2356, allocations: 7.938 kB / 0.7851 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000205/0.2358, allocations: 11.98 kB / 0.7851 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.856e-05/0.2358, allocations: 27.92 kB / 0.7851 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.884e-05/0.2359, allocations: 11.94 kB / 0.7851 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.28e-05/0.236, allocations: 7.969 kB / 0.7851 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.286e-05/0.236, allocations: 11.94 kB / 0.7851 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.236, allocations: 8 kB / 0.7851 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.616e-05/0.2361, allocations: 15.98 kB / 0.7852 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.314e-05/0.2361, allocations: 11.98 kB / 0.7852 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.242e-05/0.2362, allocations: 11.94 kB / 0.7852 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.874e-05/0.2362, allocations: 19.97 kB / 0.7852 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.2363, allocations: 4 kB / 0.7852 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.203e-06/0.2363, allocations: 0 / 0.7852 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.2363, allocations: 0 / 0.7852 GB, free: 12.16 MB / 0.6075 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.0003874/0.2367, allocations: 343.7 kB / 0.7855 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.2367, allocations: 16.03 kB / 0.7856 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.547e-05/0.2367, allocations: 0.9375 kB / 0.7856 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.2368, allocations: 172.2 kB / 0.7857 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.013e-06/0.2369, allocations: 384 / 0.7857 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.2369, allocations: 384 / 0.7857 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.237, allocations: 50.23 kB / 0.7858 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.237, allocations: 192 / 0.7858 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.2371, allocations: 7.938 kB / 0.7858 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2371, allocations: 0 / 0.7858 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.2372, allocations: 43.89 kB / 0.7858 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002827/0.2375, allocations: 257 kB / 0.7861 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.2376, allocations: 46.44 kB / 0.7861 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.025e-05/0.2377, allocations: 24.91 kB / 0.7861 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.851e-05/0.2378, allocations: 3.984 kB / 0.7861 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.2378, allocations: 34.56 kB / 0.7862 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2378, allocations: 4 kB / 0.7862 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003233/0.2381, allocations: 85.58 kB / 0.7863 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.2382, allocations: 55.41 kB / 0.7863 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.096e-05/0.2383, allocations: 110 kB / 0.7864 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.2383, allocations: 25.7 kB / 0.7864 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.962e-05/0.2383, allocations: 84.05 kB / 0.7865 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.2383, allocations: 7.938 kB / 0.7865 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.2384, allocations: 17.66 kB / 0.7865 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.976e-05/0.2385, allocations: 314.8 kB / 0.7868 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.941e-05/0.2386, allocations: 19.98 kB / 0.7869 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.8e-05/0.2386, allocations: 19.98 kB / 0.7869 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.2388, allocations: 45.06 kB / 0.7869 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.2388, allocations: 0 / 0.7869 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001881/0.239, allocations: 81.44 kB / 0.787 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.239, allocations: 8 kB / 0.787 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-06/0.239, allocations: 4.094 kB / 0.787 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.239, allocations: 0 / 0.787 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.939e-05/0.2391, allocations: 7.984 kB / 0.787 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.2391, allocations: 4 kB / 0.787 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.414e-05/0.2392, allocations: 7.984 kB / 0.787 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.2392, allocations: 0 / 0.787 GB, free: 10.07 MB / 0.6075 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.553e-05/0.2393, allocations: 113.8 kB / 0.7871 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.2393, allocations: 4 kB / 0.7871 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002144/0.2395, allocations: 77.17 kB / 0.7872 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2395, allocations: 0 / 0.7872 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.2395, allocations: 0 / 0.7872 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2395, allocations: 3.938 kB / 0.7872 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.2397, allocations: 169.6 kB / 0.7874 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2397, allocations: 0 / 0.7874 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.599e-05/0.2397, allocations: 8 kB / 0.7874 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2398, allocations: 3.938 kB / 0.7874 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.2398, allocations: 4.031 kB / 0.7874 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2398, allocations: 3.984 kB / 0.7874 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2398, allocations: 0 / 0.7874 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/0.24, allocations: 171.4 kB / 0.7876 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.955e-05/0.24, allocations: 77.11 kB / 0.7876 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.2401, allocations: 0 / 0.7876 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.231e-05/0.2401, allocations: 12.02 kB / 0.7876 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/0.2402, allocations: 0 / 0.7876 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-06/0.2402, allocations: 4 kB / 0.7877 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.63e-05/0.2402, allocations: 83.28 kB / 0.7877 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2402, allocations: 0 / 0.7877 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002254/0.2404, allocations: 8 kB / 0.7877 GB, free: 9.242 MB / 0.6075 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.0001324/0.2406, allocations: 111.2 kB / 0.7878 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001969/0.2408, allocations: 43.95 kB / 0.7879 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2408, allocations: 0 / 0.7879 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.836e-05/0.2409, allocations: 19.98 kB / 0.7879 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.2412, allocations: 12.06 kB / 0.7879 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002658/0.2414, allocations: 147.3 kB / 0.7881 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.2417, allocations: 0.6806 MB / 0.7887 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.179e-05/0.2417, allocations: 7.438 kB / 0.7887 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2417, allocations: 0 / 0.7887 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of Templates: time 0.001786/0.2435, allocations: 0.6721 MB / 0.7894 GB, free: 7.488 MB / 0.6075 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)