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.006675/0.006675, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.0016/0.001599, allocations: 196.6 kB / 16.67 MB, free: 5.926 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.282/1.282, allocations: 222.9 MB / 240.3 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002039/0.002039, allocations: 297.8 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9245/0.9245, allocations: 169.3 MB / 0.4983 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 95.84 kB / 0.6815 GB, free: 6.914 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.435/0.4367, allocations: 86.97 MB / 0.7664 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.001589/0.4384, allocations: 0.5816 MB / 0.767 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002166/0.4386, allocations: 35.88 kB / 0.767 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.329e-05/0.4386, allocations: 4 kB / 0.767 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.736e-05/0.4386, allocations: 0 / 0.767 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.64e-06/0.4386, allocations: 4 kB / 0.767 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002617/0.4389, allocations: 11.92 kB / 0.767 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.144e-05/0.439, allocations: 4 kB / 0.767 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.117e-05/0.439, allocations: 4 kB / 0.7671 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.357e-05/0.439, allocations: 0 / 0.7671 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.733e-05/0.4391, allocations: 0 / 0.7671 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.4391, allocations: 0 / 0.7671 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.733e-05/0.4392, allocations: 19.92 kB / 0.7671 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.488e-06/0.4392, allocations: 7.984 kB / 0.7671 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.295e-05/0.4392, allocations: 8 kB / 0.7671 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.909e-05/0.4393, allocations: 15.97 kB / 0.7671 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4393, allocations: 0 / 0.7671 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4393, allocations: 0 / 0.7671 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.4393, allocations: 0 / 0.7671 GB, free: 3.234 MB / 0.5294 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.0002924/0.4396, allocations: 307.6 kB / 0.7674 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.4397, allocations: 12.03 kB / 0.7674 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.793e-05/0.4397, allocations: 8.859 kB / 0.7674 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.882e-05/0.4398, allocations: 160.4 kB / 0.7676 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.234e-06/0.4398, allocations: 4.375 kB / 0.7676 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-06/0.4398, allocations: 384 / 0.7676 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.388e-05/0.4399, allocations: 30.27 kB / 0.7676 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.4399, allocations: 192 / 0.7676 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.4399, allocations: 3.938 kB / 0.7676 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.44, allocations: 0 / 0.7676 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.77e-05/0.44, allocations: 0 / 0.7676 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001261/0.4401, allocations: 153.7 kB / 0.7678 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.391e-05/0.4401, allocations: 22.52 kB / 0.7678 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.611e-05/0.4402, allocations: 12.89 kB / 0.7678 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.4402, allocations: 0 / 0.7678 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.4402, allocations: 34.56 kB / 0.7678 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.4402, allocations: 0 / 0.7678 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001242/0.4404, allocations: 41.62 kB / 0.7679 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.4404, allocations: 55.34 kB / 0.7679 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.242e-05/0.4404, allocations: 97.92 kB / 0.768 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.4405, allocations: 25.7 kB / 0.768 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.733e-05/0.4405, allocations: 80.14 kB / 0.7681 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.4405, allocations: 3.906 kB / 0.7681 GB, free: 2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.511e-05/0.4405, allocations: 13.72 kB / 0.7681 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.724e-05/0.4406, allocations: 314.8 kB / 0.7684 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.967e-06/0.4407, allocations: 0 / 0.7684 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.065e-06/0.4407, allocations: 4 kB / 0.7684 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.602e-05/0.4407, allocations: 12.91 kB / 0.7684 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4407, allocations: 0 / 0.7684 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.029e-05/0.4408, allocations: 33.7 kB / 0.7685 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.4408, allocations: 4 kB / 0.7685 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.4408, allocations: 0 / 0.7685 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.4408, allocations: 7.875 kB / 0.7685 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.902e-05/0.4409, allocations: 4 kB / 0.7685 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.4409, allocations: 0 / 0.7685 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.121e-05/0.4409, allocations: 0 / 0.7685 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.4409, allocations: 32 / 0.7685 GB, free: 1.59 MB / 0.5294 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.631e-05/0.441, allocations: 127.9 kB / 0.7686 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.442e-06/0.441, allocations: 0 / 0.7686 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.177e-05/0.4411, allocations: 40.75 kB / 0.7686 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4411, allocations: 4 kB / 0.7686 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.4411, allocations: 0 / 0.7686 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.4411, allocations: 3.984 kB / 0.7687 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.316e-05/0.4412, allocations: 149.7 kB / 0.7688 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.4412, allocations: 0 / 0.7688 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.769e-05/0.4412, allocations: 4 kB / 0.7688 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.4412, allocations: 4 kB / 0.7688 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.4412, allocations: 3.938 kB / 0.7688 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.4413, allocations: 3.938 kB / 0.7688 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.4413, allocations: 0 / 0.7688 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.332e-05/0.4413, allocations: 61.12 kB / 0.7689 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.446e-05/0.4414, allocations: 77.11 kB / 0.7689 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.4414, allocations: 3.938 kB / 0.7689 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.628e-06/0.4414, allocations: 0 / 0.7689 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.657e-05/0.4414, allocations: 4 kB / 0.769 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.4414, allocations: 11.88 kB / 0.769 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.368e-05/0.4415, allocations: 79.27 kB / 0.769 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.4415, allocations: 0 / 0.769 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001791/0.4416, allocations: 4 kB / 0.769 GB, free: 0.9258 MB / 0.5294 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 (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.0001563/0.4418, allocations: 107.3 kB / 0.7691 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.982e-05/0.4419, allocations: 7.938 kB / 0.7692 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4419, allocations: 0 / 0.7692 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.637e-06/0.4419, allocations: 4 kB / 0.7692 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000122/0.442, allocations: 0 / 0.7692 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001739/0.4422, allocations: 85.06 kB / 0.7692 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.4424, allocations: 0.669 MB / 0.7699 GB, free: 15.99 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.94e-05/0.4425, allocations: 4.125 kB / 0.7699 GB, free: 15.99 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.893e-05/0.4425, allocations: 11.44 kB / 0.7699 GB, free: 15.98 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.4425, allocations: 0 / 0.7699 GB, free: 15.98 MB / 0.545 GB Notification: Performance of Templates: time 0.00202/0.4445, allocations: 294.4 kB / 0.7702 GB, free: 15.69 MB / 0.545 GB 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)