Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 100 kB / 16.35 MB, free: 5.824 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.001304/0.001304, allocations: 196.6 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002044/0.002044, allocations: 280.7 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8959/0.8959, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 94.31 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1526, allocations: 86.97 MB / 0.6816 GB, free: 7.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.00162/0.1543, allocations: 0.5747 MB / 0.6822 GB, free: 6.859 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001968/0.1545, allocations: 36 kB / 0.6822 GB, free: 6.824 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.04e-05/0.1545, allocations: 4 kB / 0.6822 GB, free: 6.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.034e-05/0.1545, allocations: 0 / 0.6822 GB, free: 6.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.933e-06/0.1545, allocations: 0 / 0.6822 GB, free: 6.82 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.1548, allocations: 27.86 kB / 0.6822 GB, free: 6.793 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.375e-05/0.1548, allocations: 0 / 0.6822 GB, free: 6.793 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.781e-05/0.1549, allocations: 4 kB / 0.6822 GB, free: 6.789 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.276e-05/0.1549, allocations: 0 / 0.6822 GB, free: 6.789 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.131e-05/0.1549, allocations: 0 / 0.6822 GB, free: 6.789 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.315e-06/0.1549, allocations: 0 / 0.6822 GB, free: 6.789 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.304e-05/0.155, allocations: 15.98 kB / 0.6823 GB, free: 6.773 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.043e-05/0.155, allocations: 7.984 kB / 0.6823 GB, free: 6.766 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.479e-05/0.155, allocations: 0 / 0.6823 GB, free: 6.766 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.076e-05/0.1551, allocations: 19.97 kB / 0.6823 GB, free: 6.746 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1551, allocations: 0 / 0.6823 GB, free: 6.746 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1551, allocations: 0 / 0.6823 GB, free: 6.746 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.1552, allocations: 0 / 0.6823 GB, free: 6.746 MB / 494.1 MB 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.0002767/0.1554, allocations: 311.6 kB / 0.6826 GB, free: 6.391 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.911e-05/0.1555, allocations: 11.97 kB / 0.6826 GB, free: 6.379 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.702e-05/0.1555, allocations: 4.938 kB / 0.6826 GB, free: 6.375 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.043e-05/0.1556, allocations: 160.4 kB / 0.6827 GB, free: 6.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.1556, allocations: 4.375 kB / 0.6827 GB, free: 6.176 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.1556, allocations: 4.375 kB / 0.6828 GB, free: 6.172 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.731e-05/0.1557, allocations: 30.27 kB / 0.6828 GB, free: 6.137 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.119e-06/0.1557, allocations: 4.125 kB / 0.6828 GB, free: 6.133 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.1557, allocations: 3.938 kB / 0.6828 GB, free: 6.129 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-06/0.1557, allocations: 0 / 0.6828 GB, free: 6.129 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.803e-05/0.1557, allocations: 3.984 kB / 0.6828 GB, free: 6.125 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001215/0.1559, allocations: 145.7 kB / 0.6829 GB, free: 5.934 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.589e-05/0.1559, allocations: 30.5 kB / 0.683 GB, free: 5.895 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.436e-05/0.1559, allocations: 4.859 kB / 0.683 GB, free: 5.887 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.156, allocations: 8 kB / 0.683 GB, free: 5.879 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.156, allocations: 30.56 kB / 0.683 GB, free: 5.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.156, allocations: 0 / 0.683 GB, free: 5.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001058/0.1561, allocations: 37.62 kB / 0.683 GB, free: 5.797 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.1562, allocations: 59.34 kB / 0.6831 GB, free: 5.727 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.844e-05/0.1562, allocations: 93.98 kB / 0.6832 GB, free: 5.625 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.1562, allocations: 25.7 kB / 0.6832 GB, free: 5.594 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.836e-05/0.1562, allocations: 80.14 kB / 0.6833 GB, free: 5.512 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.1563, allocations: 4 kB / 0.6833 GB, free: 5.508 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.1563, allocations: 13.72 kB / 0.6833 GB, free: 5.488 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.174e-05/0.1564, allocations: 310.8 kB / 0.6836 GB, free: 5.176 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.937e-06/0.1564, allocations: 0 / 0.6836 GB, free: 5.176 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.119e-06/0.1564, allocations: 0 / 0.6836 GB, free: 5.176 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.568e-05/0.1564, allocations: 16.91 kB / 0.6836 GB, free: 5.156 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1565, allocations: 0 / 0.6836 GB, free: 5.156 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.93e-05/0.1565, allocations: 37.7 kB / 0.6837 GB, free: 5.113 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.1565, allocations: 4 kB / 0.6837 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.1565, allocations: 3.938 kB / 0.6837 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.1565, allocations: 3.938 kB / 0.6837 GB, free: 5.102 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.4e-05/0.1566, allocations: 4 kB / 0.6837 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.1566, allocations: 0 / 0.6837 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.175e-05/0.1566, allocations: 0 / 0.6837 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.1566, allocations: 8.016 kB / 0.6837 GB, free: 5.09 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.877e-05/0.1567, allocations: 105.8 kB / 0.6838 GB, free: 4.977 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.251e-06/0.1567, allocations: 4 kB / 0.6838 GB, free: 4.973 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.777e-05/0.1568, allocations: 48.69 kB / 0.6838 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1568, allocations: 7.984 kB / 0.6838 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.1568, allocations: 0 / 0.6838 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1568, allocations: 4.031 kB / 0.6838 GB, free: 4.906 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.666e-05/0.1569, allocations: 149.6 kB / 0.684 GB, free: 4.711 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1569, allocations: 0 / 0.684 GB, free: 4.711 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.529e-05/0.1569, allocations: 0 / 0.684 GB, free: 4.711 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1569, allocations: 0 / 0.684 GB, free: 4.711 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.157, allocations: 11.88 kB / 0.684 GB, free: 4.699 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.157, allocations: 0 / 0.684 GB, free: 4.699 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-07/0.157, allocations: 0 / 0.684 GB, free: 4.699 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.973e-05/0.157, allocations: 61.12 kB / 0.684 GB, free: 4.621 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.288e-05/0.1571, allocations: 81.11 kB / 0.6841 GB, free: 4.523 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-06/0.1571, allocations: 3.938 kB / 0.6841 GB, free: 4.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.008e-05/0.1571, allocations: 0 / 0.6841 GB, free: 4.52 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.134e-05/0.1571, allocations: 3.984 kB / 0.6841 GB, free: 4.516 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-06/0.1571, allocations: 0 / 0.6841 GB, free: 4.516 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.047e-05/0.1572, allocations: 83.22 kB / 0.6842 GB, free: 4.434 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1572, allocations: 0 / 0.6842 GB, free: 4.434 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000181/0.1573, allocations: 8 kB / 0.6842 GB, free: 4.426 MB / 494.1 MB 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 (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.0001275/0.1575, allocations: 103.3 kB / 0.6843 GB, free: 4.312 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.765e-05/0.1575, allocations: 7.938 kB / 0.6843 GB, free: 4.305 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1575, allocations: 0 / 0.6843 GB, free: 4.305 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.985e-06/0.1576, allocations: 4 kB / 0.6843 GB, free: 4.301 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001142/0.1577, allocations: 2.812 kB / 0.6843 GB, free: 4.301 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001487/0.1578, allocations: 80.97 kB / 0.6844 GB, free: 4.195 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.158, allocations: 0.6729 MB / 0.6851 GB, free: 3.496 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.846e-05/0.1581, allocations: 4.125 kB / 0.6851 GB, free: 3.492 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.959e-05/0.1581, allocations: 11.44 kB / 0.6851 GB, free: 3.48 MB / 494.1 MB Notification: Performance of SimCode: time 2e-07/0.1581, allocations: 0 / 0.6851 GB, free: 3.48 MB / 494.1 MB Notification: Performance of Templates: time 0.001927/0.16, allocations: 284.6 kB / 0.6854 GB, free: 3.203 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)