Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.55/1.55, allocations: 252 MB / 267.6 MB, free: 10.93 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.000982/0.000982, allocations: 180.1 kB / 327.3 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.706/1.706, allocations: 205.4 MB / 0.5783 GB, free: 20.24 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.0008305/0.0008304, allocations: 97.86 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004511/0.0004511, allocations: 8.5 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2566, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0007658/0.2574, allocations: 318.4 kB / 0.9011 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002129/0.2577, allocations: 27.92 kB / 0.9012 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.076e-05/0.2577, allocations: 4 kB / 0.9012 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.271e-05/0.2577, allocations: 3.938 kB / 0.9012 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.001e-06/0.2577, allocations: 0 / 0.9012 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.258, allocations: 23.92 kB / 0.9012 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.457e-05/0.2581, allocations: 0 / 0.9012 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.16e-05/0.2582, allocations: 0 / 0.9012 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.966e-05/0.2582, allocations: 7.984 kB / 0.9012 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.656e-05/0.2583, allocations: 3.984 kB / 0.9012 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.2583, allocations: 0 / 0.9012 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.2584, allocations: 15.98 kB / 0.9012 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.634e-06/0.2584, allocations: 4 kB / 0.9012 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.017e-05/0.2584, allocations: 25.7 kB / 0.9013 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.09e-05/0.2585, allocations: 7.984 kB / 0.9013 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.2585, allocations: 0 / 0.9013 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2585, allocations: 0 / 0.9013 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.2586, allocations: 0 / 0.9013 GB, free: 63.47 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000251/0.2588, allocations: 308.6 kB / 0.9016 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.2589, allocations: 8.094 kB / 0.9016 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.2589, allocations: 7.906 kB / 0.9016 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.716e-05/0.259, allocations: 171 kB / 0.9017 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.259, allocations: 4 kB / 0.9017 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.259, allocations: 4 kB / 0.9017 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.456e-05/0.2591, allocations: 29.69 kB / 0.9018 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.2592, allocations: 0 / 0.9018 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.2592, allocations: 7.938 kB / 0.9018 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2592, allocations: 0 / 0.9018 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.263e-05/0.2592, allocations: 0 / 0.9018 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001211/0.2594, allocations: 149.6 kB / 0.9019 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.611e-05/0.2594, allocations: 26.55 kB / 0.9019 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.843e-05/0.2594, allocations: 8.859 kB / 0.902 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.335e-05/0.2595, allocations: 4.062 kB / 0.902 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.2595, allocations: 34.56 kB / 0.902 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.362e-06/0.2595, allocations: 0 / 0.902 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001351/0.2597, allocations: 29.7 kB / 0.902 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.2597, allocations: 55.52 kB / 0.9021 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.844e-05/0.2597, allocations: 101.8 kB / 0.9022 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.344e-06/0.2597, allocations: 25.7 kB / 0.9022 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.632e-05/0.2598, allocations: 80.14 kB / 0.9023 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.2598, allocations: 7.938 kB / 0.9023 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/0.2598, allocations: 0 / 0.9023 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.459e-05/0.2599, allocations: 310.8 kB / 0.9026 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.192e-05/0.2599, allocations: 0 / 0.9026 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.686e-06/0.2599, allocations: 4 kB / 0.9026 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.953e-05/0.26, allocations: 4.062 kB / 0.9026 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.26, allocations: 3.953 kB / 0.9026 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.608e-05/0.26, allocations: 37.69 kB / 0.9026 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.2601, allocations: 4 kB / 0.9026 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2601, allocations: 0 / 0.9026 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.2601, allocations: 0 / 0.9026 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.202e-05/0.2602, allocations: 4 kB / 0.9026 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.2602, allocations: 0 / 0.9026 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.74e-05/0.2602, allocations: 0 / 0.9026 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.2602, allocations: 0 / 0.9026 GB, free: 61.86 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.478e-05/0.2603, allocations: 113.9 kB / 0.9027 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.095e-05/0.2603, allocations: 11.89 kB / 0.9028 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.2604, allocations: 36.81 kB / 0.9028 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2605, allocations: 0 / 0.9028 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2605, allocations: 0 / 0.9028 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.2605, allocations: 0 / 0.9028 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.544e-05/0.2606, allocations: 153.7 kB / 0.9029 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2606, allocations: 0 / 0.9029 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.196e-05/0.2606, allocations: 3.953 kB / 0.9029 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.2606, allocations: 0 / 0.9029 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.2606, allocations: 8 kB / 0.9029 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2606, allocations: 0 / 0.9029 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2606, allocations: 0 / 0.9029 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.565e-05/0.2607, allocations: 61 kB / 0.903 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.971e-05/0.2607, allocations: 85.14 kB / 0.9031 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.2608, allocations: 3.953 kB / 0.9031 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.597e-05/0.2608, allocations: 0 / 0.9031 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.989e-05/0.2608, allocations: 0 / 0.9031 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.2608, allocations: 3.938 kB / 0.9031 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.424e-05/0.2609, allocations: 79.28 kB / 0.9032 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2609, allocations: 4 kB / 0.9032 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000313/0.2612, allocations: 8 kB / 0.9032 GB, free: 61.19 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001606/0.2614, allocations: 107.2 kB / 0.9033 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.544e-05/0.2614, allocations: 4 kB / 0.9033 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.2615, allocations: 0 / 0.9033 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.298e-05/0.2615, allocations: 7.938 kB / 0.9033 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.2617, allocations: 4.453 kB / 0.9033 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001905/0.2619, allocations: 96.38 kB / 0.9034 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.262, allocations: 0.6731 MB / 0.904 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.475e-05/0.2621, allocations: 15.56 kB / 0.9041 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/0.2621, allocations: 0 / 0.9041 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of Templates: time 0.002024/0.2641, allocations: 446 kB / 0.9045 GB, free: 59.79 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)