Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal") translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.417/1.417, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001261/0.001261, allocations: 173.6 kB / 326.5 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.168/2.168, allocations: 205 MB / 0.5766 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008408/0.0008409, allocations: 95.92 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003394, allocations: 14.5 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2844, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.002279/0.2868, allocations: 1.168 MB / 0.8979 GB, free: 67.03 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004968/0.2873, allocations: 93.33 kB / 0.898 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.647e-05/0.2874, allocations: 4 kB / 0.898 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.756e-05/0.2875, allocations: 7.922 kB / 0.898 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.919e-05/0.2876, allocations: 4 kB / 0.898 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.2879, allocations: 11.98 kB / 0.898 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.945e-05/0.288, allocations: 23.94 kB / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.2881, allocations: 11.98 kB / 0.898 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.575e-05/0.2881, allocations: 0 / 0.898 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.828e-05/0.2882, allocations: 15.92 kB / 0.898 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.2883, allocations: 0 / 0.898 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.2884, allocations: 19.92 kB / 0.8981 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.852e-05/0.2885, allocations: 7.984 kB / 0.8981 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.409e-05/0.2885, allocations: 11.88 kB / 0.8981 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.2887, allocations: 31.89 kB / 0.8981 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.2887, allocations: 0 / 0.8981 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.525e-06/0.2887, allocations: 0 / 0.8981 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.2887, allocations: 0 / 0.8981 GB, free: 66.79 MB / 0.6042 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.0005124/0.2892, allocations: 339.5 kB / 0.8984 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.2893, allocations: 12.03 kB / 0.8985 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/0.2894, allocations: 4.844 kB / 0.8985 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.2895, allocations: 168.4 kB / 0.8986 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.2895, allocations: 4.375 kB / 0.8986 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.2896, allocations: 384 / 0.8986 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.2898, allocations: 54.23 kB / 0.8987 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.2899, allocations: 192 / 0.8987 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.2899, allocations: 11.94 kB / 0.8987 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.2899, allocations: 3.938 kB / 0.8987 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002685/0.2902, allocations: 47.91 kB / 0.8987 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004019/0.2906, allocations: 252.9 kB / 0.899 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.2908, allocations: 54.48 kB / 0.899 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.291, allocations: 32.91 kB / 0.8991 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.514e-05/0.2911, allocations: 0 / 0.8991 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.2911, allocations: 34.56 kB / 0.8991 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 3.306e-06/0.2911, allocations: 4 kB / 0.8991 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0005985/0.2917, allocations: 109.5 kB / 0.8992 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.2918, allocations: 55.53 kB / 0.8993 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.945e-05/0.2919, allocations: 105.8 kB / 0.8994 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.2919, allocations: 25.7 kB / 0.8994 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.015e-05/0.292, allocations: 88.14 kB / 0.8995 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.292, allocations: 7.891 kB / 0.8995 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.2921, allocations: 9.719 kB / 0.8995 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.236e-05/0.2921, allocations: 314.8 kB / 0.8998 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.2923, allocations: 23.98 kB / 0.8998 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.2924, allocations: 27.97 kB / 0.8998 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.2927, allocations: 56.83 kB / 0.8999 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.2927, allocations: 0 / 0.8999 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003476/0.2931, allocations: 85.53 kB / 0.9 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.2931, allocations: 4 kB / 0.9 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.2932, allocations: 4.031 kB / 0.9 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.2932, allocations: 0 / 0.9 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.2933, allocations: 11.98 kB / 0.9 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.2934, allocations: 4.25 kB / 0.9 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.357e-05/0.2935, allocations: 4 kB / 0.9 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.2935, allocations: 7.984 kB / 0.9 GB, free: 64.63 MB / 0.6042 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 8.05e-05/0.2936, allocations: 121.8 kB / 0.9001 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/0.2936, allocations: 0 / 0.9001 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003796/0.294, allocations: 89.12 kB / 0.9002 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.2941, allocations: 0 / 0.9002 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2941, allocations: 0 / 0.9002 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2941, allocations: 4.031 kB / 0.9002 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.2943, allocations: 169.6 kB / 0.9004 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2943, allocations: 0 / 0.9004 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.519e-05/0.2944, allocations: 11.98 kB / 0.9004 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2944, allocations: 0 / 0.9004 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.2945, allocations: 4 kB / 0.9004 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2945, allocations: 0 / 0.9004 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2945, allocations: 0 / 0.9004 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000354/0.2949, allocations: 187.3 kB / 0.9006 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.014e-05/0.2949, allocations: 81.05 kB / 0.9006 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.2949, allocations: 3.984 kB / 0.9006 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.2951, allocations: 16.02 kB / 0.9007 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.2952, allocations: 0 / 0.9007 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.2952, allocations: 0 / 0.9007 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.821e-05/0.2952, allocations: 91.27 kB / 0.9007 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2953, allocations: 0 / 0.9007 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004096/0.2957, allocations: 12 kB / 0.9008 GB, free: 63.75 MB / 0.6042 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.000178/0.2959, allocations: 95.25 kB / 0.9008 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003299/0.2962, allocations: 55.95 kB / 0.9009 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.2962, allocations: 4 kB / 0.9009 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.2964, allocations: 23.92 kB / 0.9009 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/0.2968, allocations: 12.06 kB / 0.9009 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003735/0.2972, allocations: 148.8 kB / 0.9011 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.2974, allocations: 0.677 MB / 0.9017 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.2974, allocations: 7.438 kB / 0.9017 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of SimCode: time 5.01e-07/0.2975, allocations: 4 kB / 0.9018 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of Templates: time 0.002959/0.3004, allocations: 0.6581 MB / 0.9024 GB, free: 62.02 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)