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.00436/0.00436, allocations: 104.9 kB / 15.74 MB, free: 6.059 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.001019/0.001019, allocations: 198.7 kB / 16.68 MB, free: 5.969 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.308/1.308, allocations: 222.9 MB / 240.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002007/0.002007, allocations: 295.8 kB / 290.8 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.9557/0.9557, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 92.27 kB / 0.6815 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3959, allocations: 86.98 MB / 0.7664 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.001405/0.3973, allocations: 0.582 MB / 0.767 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002025/0.3975, allocations: 31.88 kB / 0.767 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.135e-05/0.3976, allocations: 4 kB / 0.767 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.251e-05/0.3976, allocations: 0 / 0.767 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.15e-06/0.3976, allocations: 0 / 0.767 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.3978, allocations: 15.94 kB / 0.767 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.353e-05/0.3979, allocations: 0 / 0.767 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.229e-05/0.3979, allocations: 7.984 kB / 0.7671 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.182e-05/0.398, allocations: 0 / 0.7671 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.316e-05/0.398, allocations: 0 / 0.7671 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.554e-06/0.398, allocations: 0 / 0.7671 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.097e-05/0.3981, allocations: 15.98 kB / 0.7671 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.152e-05/0.3981, allocations: 0 / 0.7671 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.931e-05/0.3981, allocations: 11.94 kB / 0.7671 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.867e-05/0.3982, allocations: 19.97 kB / 0.7671 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3982, allocations: 0 / 0.7671 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3982, allocations: 3.938 kB / 0.7671 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.3982, allocations: 0 / 0.7671 GB, free: 3.246 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.0002622/0.3985, allocations: 311.6 kB / 0.7674 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.3986, allocations: 12.03 kB / 0.7674 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.681e-05/0.3986, allocations: 0.9375 kB / 0.7674 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.909e-05/0.3987, allocations: 164.3 kB / 0.7676 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-06/0.3987, allocations: 4.375 kB / 0.7676 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.3987, allocations: 4.359 kB / 0.7676 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.6e-05/0.3988, allocations: 34.27 kB / 0.7676 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.241e-06/0.3988, allocations: 192 / 0.7676 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.3988, allocations: 3.938 kB / 0.7676 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3988, allocations: 0 / 0.7676 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.679e-05/0.3988, allocations: 0 / 0.7676 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001168/0.399, allocations: 145.7 kB / 0.7678 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.68e-05/0.399, allocations: 26.5 kB / 0.7678 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.56e-05/0.399, allocations: 8.859 kB / 0.7678 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.3991, allocations: 4.094 kB / 0.7678 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.885e-05/0.3991, allocations: 30.56 kB / 0.7678 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.3991, allocations: 0 / 0.7678 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001153/0.3992, allocations: 37.64 kB / 0.7679 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.3992, allocations: 51.41 kB / 0.7679 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.364e-05/0.3993, allocations: 89.98 kB / 0.768 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.3993, allocations: 29.7 kB / 0.768 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.492e-05/0.3994, allocations: 80.14 kB / 0.7681 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.3994, allocations: 15.77 kB / 0.7681 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/0.3994, allocations: 17.72 kB / 0.7681 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.3995, allocations: 310.8 kB / 0.7684 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.077e-06/0.3995, allocations: 0 / 0.7684 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.55e-06/0.3995, allocations: 0 / 0.7684 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.7e-05/0.3996, allocations: 12.92 kB / 0.7684 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3996, allocations: 0 / 0.7684 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.173e-05/0.3996, allocations: 45.69 kB / 0.7685 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.998e-06/0.3997, allocations: 4 kB / 0.7685 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.3997, allocations: 0 / 0.7685 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3997, allocations: 3.938 kB / 0.7685 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.036e-05/0.3997, allocations: 4 kB / 0.7685 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.3997, allocations: 3.938 kB / 0.7685 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.171e-05/0.3998, allocations: 0 / 0.7685 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.3998, allocations: 0 / 0.7685 GB, free: 1.594 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.877e-05/0.3998, allocations: 119.9 kB / 0.7686 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.672e-06/0.3999, allocations: 0 / 0.7686 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.583e-05/0.4, allocations: 40.75 kB / 0.7686 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.4, allocations: 3.938 kB / 0.7687 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.4, allocations: 0 / 0.7687 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.4, allocations: 4 kB / 0.7687 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.075e-05/0.4001, allocations: 153.7 kB / 0.7688 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.4001, allocations: 0 / 0.7688 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.581e-05/0.4001, allocations: 0 / 0.7688 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4001, allocations: 4 kB / 0.7688 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.4001, allocations: 3.938 kB / 0.7688 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4001, allocations: 0 / 0.7688 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.4001, allocations: 3.984 kB / 0.7688 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.32e-05/0.4002, allocations: 65.06 kB / 0.7689 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.757e-05/0.4002, allocations: 81.14 kB / 0.769 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.948e-06/0.4003, allocations: 3.938 kB / 0.769 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.026e-05/0.4003, allocations: 0 / 0.769 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.212e-05/0.4003, allocations: 0 / 0.769 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.4003, allocations: 4 kB / 0.769 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.778e-05/0.4003, allocations: 75.28 kB / 0.769 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.194e-06/0.4003, allocations: 0 / 0.769 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001946/0.4005, allocations: 7.938 kB / 0.769 GB, free: 0.9414 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.0001276/0.4007, allocations: 111.2 kB / 0.7691 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 5.644e-05/0.4007, allocations: 7.938 kB / 0.7692 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4007, allocations: 0 / 0.7692 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.596e-06/0.4007, allocations: 4 kB / 0.7692 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001187/0.4009, allocations: 2.5 kB / 0.7692 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001519/0.401, allocations: 81.08 kB / 0.7692 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.4012, allocations: 0.6729 MB / 0.7699 GB, free: 4 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.163e-05/0.4013, allocations: 4.125 kB / 0.7699 GB, free: 0 / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.977e-05/0.4013, allocations: 11.44 kB / 0.7699 GB, free: 15.99 MB / 0.545 GB Notification: Performance of SimCode: time 2.71e-07/0.4013, allocations: 0 / 0.7699 GB, free: 15.99 MB / 0.545 GB Notification: Performance of Templates: time 0.001993/0.4033, allocations: 290.4 kB / 0.7702 GB, free: 15.71 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)