Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial") translateModel(IBPSA.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001352/0.001352, allocations: 107.6 kB / 16.27 MB, free: 5.984 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.001585/0.001585, allocations: 191.9 kB / 17.2 MB, free: 5.613 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.404/1.404, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8059/0.8059, allocations: 122.9 MB / 413.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002475/0.002476, allocations: 72.08 kB / 0.4911 GB, free: 7.375 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4166/0.4191, allocations: 77.92 MB / 0.5672 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.002173/0.4214, allocations: 0.5819 MB / 0.5678 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002334/0.4216, allocations: 37.73 kB / 0.5678 GB, free: 32.35 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.593e-05/0.4216, allocations: 1.188 kB / 0.5678 GB, free: 32.35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.512e-05/0.4217, allocations: 0 / 0.5678 GB, free: 32.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.851e-06/0.4217, allocations: 0 / 0.5678 GB, free: 32.35 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.422, allocations: 8.953 kB / 0.5678 GB, free: 32.35 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.151e-05/0.4221, allocations: 6.781 kB / 0.5679 GB, free: 32.35 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.334e-05/0.4221, allocations: 2.25 kB / 0.5679 GB, free: 32.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.699e-05/0.4221, allocations: 1.703 kB / 0.5679 GB, free: 32.35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.697e-05/0.4222, allocations: 10.72 kB / 0.5679 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.057e-06/0.4222, allocations: 0 / 0.5679 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.567e-05/0.4223, allocations: 16.14 kB / 0.5679 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.436e-06/0.4223, allocations: 1.219 kB / 0.5679 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.909e-05/0.4223, allocations: 2.109 kB / 0.5679 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.78e-05/0.4224, allocations: 20.2 kB / 0.5679 GB, free: 32.33 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.4224, allocations: 0 / 0.5679 GB, free: 32.33 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4224, allocations: 0 / 0.5679 GB, free: 32.33 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.4225, allocations: 0.5312 kB / 0.5679 GB, free: 32.33 MB / 446.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.0002366/0.4227, allocations: 315.4 kB / 0.5682 GB, free: 31.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4227, allocations: 11.81 kB / 0.5682 GB, free: 31.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.4228, allocations: 0.9375 kB / 0.5682 GB, free: 31.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.519e-05/0.4228, allocations: 162.9 kB / 0.5684 GB, free: 31.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.4229, allocations: 0.875 kB / 0.5684 GB, free: 31.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.382e-06/0.4229, allocations: 384 / 0.5684 GB, free: 31.78 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.331e-05/0.423, allocations: 35.33 kB / 0.5684 GB, free: 31.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.423, allocations: 1.656 kB / 0.5684 GB, free: 31.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.423, allocations: 3.938 kB / 0.5684 GB, free: 31.74 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.423, allocations: 1.031 kB / 0.5684 GB, free: 31.74 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.138e-05/0.423, allocations: 8.719 kB / 0.5684 GB, free: 31.74 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000104/0.4232, allocations: 145.2 kB / 0.5686 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.252e-05/0.4232, allocations: 17.34 kB / 0.5686 GB, free: 31.53 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.881e-05/0.4232, allocations: 5.984 kB / 0.5686 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/0.4233, allocations: 2.281 kB / 0.5686 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.4233, allocations: 40.97 kB / 0.5686 GB, free: 31.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.4233, allocations: 0 / 0.5686 GB, free: 31.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001203/0.4234, allocations: 41.09 kB / 0.5687 GB, free: 31.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.4234, allocations: 54.09 kB / 0.5687 GB, free: 31.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.658e-05/0.4235, allocations: 90.61 kB / 0.5688 GB, free: 31.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.773e-06/0.4235, allocations: 25.7 kB / 0.5688 GB, free: 31.24 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.187e-05/0.4235, allocations: 82.64 kB / 0.5689 GB, free: 31.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.4235, allocations: 3.906 kB / 0.5689 GB, free: 31.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-05/0.4236, allocations: 18.08 kB / 0.5689 GB, free: 31.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.226e-05/0.4236, allocations: 313.1 kB / 0.5692 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.899e-06/0.4236, allocations: 2.375 kB / 0.5692 GB, free: 30.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.335e-06/0.4236, allocations: 1.25 kB / 0.5692 GB, free: 30.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.784e-05/0.4237, allocations: 17.47 kB / 0.5692 GB, free: 30.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4237, allocations: 0 / 0.5692 GB, free: 30.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.543e-05/0.4237, allocations: 33.48 kB / 0.5693 GB, free: 30.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.4238, allocations: 6.188 kB / 0.5693 GB, free: 30.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.4238, allocations: 0 / 0.5693 GB, free: 30.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.4238, allocations: 4.906 kB / 0.5693 GB, free: 30.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.724e-05/0.4239, allocations: 3.859 kB / 0.5693 GB, free: 30.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.4239, allocations: 1.031 kB / 0.5693 GB, free: 30.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.465e-05/0.4239, allocations: 0.7969 kB / 0.5693 GB, free: 30.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.4239, allocations: 2.25 kB / 0.5693 GB, free: 30.77 MB / 446.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.307e-05/0.424, allocations: 113.5 kB / 0.5694 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.285e-06/0.424, allocations: 0 / 0.5694 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.263e-05/0.4241, allocations: 47.39 kB / 0.5694 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.4241, allocations: 1.281 kB / 0.5694 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4241, allocations: 2.312 kB / 0.5695 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.4241, allocations: 0 / 0.5695 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.326e-05/0.4242, allocations: 148.2 kB / 0.5696 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4242, allocations: 1.172 kB / 0.5696 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.798e-05/0.4242, allocations: 2.844 kB / 0.5696 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.4242, allocations: 6.656 kB / 0.5696 GB, free: 30.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.4242, allocations: 3.938 kB / 0.5696 GB, free: 30.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.4242, allocations: 1.844 kB / 0.5696 GB, free: 30.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4242, allocations: 0 / 0.5696 GB, free: 30.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.131e-05/0.4243, allocations: 60.09 kB / 0.5697 GB, free: 30.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.035e-05/0.4243, allocations: 77.77 kB / 0.5697 GB, free: 30.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.4244, allocations: 5.875 kB / 0.5697 GB, free: 30.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.519e-05/0.4244, allocations: 7.094 kB / 0.5698 GB, free: 30.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.336e-05/0.4244, allocations: 1.031 kB / 0.5698 GB, free: 30.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.4244, allocations: 1.969 kB / 0.5698 GB, free: 30.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.381e-05/0.4244, allocations: 75.28 kB / 0.5698 GB, free: 30.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4244, allocations: 0.8125 kB / 0.5698 GB, free: 30.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002447/0.4247, allocations: 4.312 kB / 0.5698 GB, free: 30.18 MB / 446.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.0001435/0.4248, allocations: 114.3 kB / 0.5699 GB, free: 30.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.454e-05/0.4249, allocations: 6.844 kB / 0.5699 GB, free: 30.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4249, allocations: 0 / 0.5699 GB, free: 30.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.085e-05/0.4249, allocations: 11.41 kB / 0.57 GB, free: 30.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.4251, allocations: 5.062 kB / 0.57 GB, free: 30.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001859/0.4253, allocations: 79.16 kB / 0.57 GB, free: 29.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.4254, allocations: 0.6723 MB / 0.5707 GB, free: 29.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.587e-05/0.4254, allocations: 3.031 kB / 0.5707 GB, free: 29.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.075e-05/0.4254, allocations: 10.22 kB / 0.5707 GB, free: 29.27 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4254, allocations: 1 kB / 0.5707 GB, free: 29.27 MB / 446.1 MB Notification: Performance of Templates: time 0.002301/0.4277, allocations: 284.1 kB / 0.571 GB, free: 29.23 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)