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.0009737/0.0009737, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008358/0.008358, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.487/1.487, allocations: 205.4 MB / 222.5 MB, free: 5.793 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.708/1.708, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.0006322/0.0006325, allocations: 24.11 kB / 0.6743 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2305, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.001635/0.2322, allocations: 1.152 MB / 0.789 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003243/0.2325, allocations: 96.58 kB / 0.7891 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.39e-05/0.2326, allocations: 8 kB / 0.7891 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.622e-05/0.2326, allocations: 0 / 0.7891 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.439e-05/0.2327, allocations: 7.922 kB / 0.7891 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.2329, allocations: 12 kB / 0.7891 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.962e-05/0.233, allocations: 23.92 kB / 0.7891 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.906e-05/0.233, allocations: 7.938 kB / 0.7892 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.967e-05/0.2331, allocations: 7.984 kB / 0.7892 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.035e-05/0.2331, allocations: 11.92 kB / 0.7892 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.2332, allocations: 4 kB / 0.7892 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.568e-05/0.2333, allocations: 23.98 kB / 0.7892 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.717e-05/0.2333, allocations: 4 kB / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.737e-05/0.2333, allocations: 33.62 kB / 0.7892 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.2335, allocations: 39.88 kB / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.2335, allocations: 0 / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2335, allocations: 0 / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.2335, allocations: 0 / 0.7893 GB, free: 10.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.0004226/0.2339, allocations: 347.7 kB / 0.7896 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.234, allocations: 8.031 kB / 0.7896 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.019e-05/0.234, allocations: 4.938 kB / 0.7896 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.2341, allocations: 168.2 kB / 0.7898 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.2341, allocations: 4.375 kB / 0.7898 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.2342, allocations: 4.375 kB / 0.7898 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.2344, allocations: 54.23 kB / 0.7898 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.2344, allocations: 4.188 kB / 0.7898 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.2344, allocations: 3.938 kB / 0.7898 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.2344, allocations: 0 / 0.7898 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.2346, allocations: 47.95 kB / 0.7899 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003397/0.2349, allocations: 253 kB / 0.7901 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.2351, allocations: 50.44 kB / 0.7902 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.495e-05/0.2352, allocations: 28.91 kB / 0.7902 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.622e-05/0.2352, allocations: 11.98 kB / 0.7902 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.2353, allocations: 30.56 kB / 0.7902 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.2353, allocations: 3.938 kB / 0.7902 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003693/0.2357, allocations: 105.7 kB / 0.7904 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.2357, allocations: 55.41 kB / 0.7904 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.401e-05/0.2358, allocations: 109.8 kB / 0.7905 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.2358, allocations: 25.7 kB / 0.7905 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.133e-05/0.2359, allocations: 84.14 kB / 0.7906 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.2359, allocations: 7.844 kB / 0.7906 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-05/0.2359, allocations: 13.72 kB / 0.7906 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.236, allocations: 318.9 kB / 0.7909 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.917e-05/0.2361, allocations: 23.97 kB / 0.791 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.072e-05/0.2362, allocations: 23.98 kB / 0.791 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.2364, allocations: 52.88 kB / 0.791 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2364, allocations: 0 / 0.791 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00022/0.2366, allocations: 89.45 kB / 0.7911 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.2367, allocations: 8 kB / 0.7911 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2367, allocations: 3.984 kB / 0.7911 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.2367, allocations: 0 / 0.7911 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.638e-05/0.2368, allocations: 8 kB / 0.7911 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.2368, allocations: 4.234 kB / 0.7911 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.372e-05/0.2368, allocations: 20.02 kB / 0.7912 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.2369, allocations: 4 kB / 0.7912 GB, free: 7.988 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.907e-05/0.2369, allocations: 109.8 kB / 0.7913 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.237, allocations: 4 kB / 0.7913 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/0.2372, allocations: 97.16 kB / 0.7914 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.2372, allocations: 0 / 0.7914 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2372, allocations: 0 / 0.7914 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2373, allocations: 3.938 kB / 0.7914 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.2374, allocations: 165.6 kB / 0.7915 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2374, allocations: 3.984 kB / 0.7915 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.784e-05/0.2375, allocations: 8 kB / 0.7915 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.2375, allocations: 0 / 0.7915 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-06/0.2375, allocations: 0 / 0.7915 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2375, allocations: 4.031 kB / 0.7915 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2375, allocations: 0 / 0.7915 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.2378, allocations: 179.4 kB / 0.7917 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.511e-05/0.2378, allocations: 89.05 kB / 0.7918 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.2378, allocations: 0 / 0.7918 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.356e-05/0.2379, allocations: 4 kB / 0.7918 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.238, allocations: 7.984 kB / 0.7918 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.238, allocations: 3.938 kB / 0.7918 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.946e-05/0.238, allocations: 83.28 kB / 0.7919 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.238, allocations: 0 / 0.7919 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002242/0.2383, allocations: 15.94 kB / 0.7919 GB, free: 7.121 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.0001502/0.2384, allocations: 111.2 kB / 0.792 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002154/0.2386, allocations: 47.97 kB / 0.7921 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2387, allocations: 0 / 0.7921 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.375e-05/0.2388, allocations: 32.03 kB / 0.7921 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.239, allocations: 7.938 kB / 0.7921 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002808/0.2393, allocations: 116.7 kB / 0.7922 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.2396, allocations: 0.6809 MB / 0.7929 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.44e-05/0.2396, allocations: 8 kB / 0.7929 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.903e-05/0.2396, allocations: 7.438 kB / 0.7929 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.2396, allocations: 0 / 0.7929 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of Templates: time 0.002549/0.2422, allocations: 469.9 kB / 0.7933 GB, free: 5.602 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: