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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 102 kB / 16.27 MB, free: 5.93 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.00166/0.00166, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.45/1.45, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8073/0.8073, allocations: 122.9 MB / 413.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 71.89 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3799, allocations: 77.93 MB / 0.5673 GB, free: 32.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.002366/0.3823, allocations: 0.5626 MB / 0.5678 GB, free: 32.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002269/0.3826, allocations: 37.47 kB / 0.5679 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.324e-05/0.3826, allocations: 0 / 0.5679 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.514e-05/0.3826, allocations: 0.5625 kB / 0.5679 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.99e-06/0.3826, allocations: 2.5 kB / 0.5679 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.3829, allocations: 15.53 kB / 0.5679 GB, free: 32.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.093e-05/0.383, allocations: 3.844 kB / 0.5679 GB, free: 32.44 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.39e-05/0.383, allocations: 2.062 kB / 0.5679 GB, free: 32.44 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.643e-05/0.383, allocations: 1.469 kB / 0.5679 GB, free: 32.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.103e-05/0.3831, allocations: 5.906 kB / 0.5679 GB, free: 32.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.3831, allocations: 0 / 0.5679 GB, free: 32.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.711e-05/0.3832, allocations: 16.78 kB / 0.5679 GB, free: 32.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.003e-05/0.3832, allocations: 0.5938 kB / 0.5679 GB, free: 32.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.071e-05/0.3832, allocations: 6.188 kB / 0.5679 GB, free: 32.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.499e-05/0.3833, allocations: 15.59 kB / 0.568 GB, free: 32.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3833, allocations: 1.125 kB / 0.568 GB, free: 32.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3834, allocations: 1 kB / 0.568 GB, free: 32.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.3834, allocations: 0 / 0.568 GB, free: 32.42 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.0002575/0.3836, allocations: 319.5 kB / 0.5683 GB, free: 32.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.3837, allocations: 11.94 kB / 0.5683 GB, free: 32.07 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.575e-05/0.3837, allocations: 30.75 kB / 0.5683 GB, free: 32.03 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.854e-05/0.3837, allocations: 2.062 kB / 0.5683 GB, free: 32.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.616e-05/0.3838, allocations: 165.4 kB / 0.5685 GB, free: 31.83 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.3838, allocations: 4.312 kB / 0.5685 GB, free: 31.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-06/0.3838, allocations: 2.25 kB / 0.5685 GB, free: 31.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.898e-05/0.3839, allocations: 34.62 kB / 0.5685 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.3839, allocations: 5 kB / 0.5685 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.384, allocations: 0 / 0.5685 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.384, allocations: 1.125 kB / 0.5685 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.859e-05/0.384, allocations: 1.75 kB / 0.5685 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001102/0.3841, allocations: 150.2 kB / 0.5686 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.538e-05/0.3841, allocations: 17.64 kB / 0.5687 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.594e-05/0.3842, allocations: 10.98 kB / 0.5687 GB, free: 31.56 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.88e-05/0.3842, allocations: 2.969 kB / 0.5687 GB, free: 31.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.3842, allocations: 33.12 kB / 0.5687 GB, free: 31.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.3842, allocations: 0 / 0.5687 GB, free: 31.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001221/0.3844, allocations: 41.91 kB / 0.5688 GB, free: 31.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.3844, allocations: 52.59 kB / 0.5688 GB, free: 31.42 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.135e-05/0.3844, allocations: 89.86 kB / 0.5689 GB, free: 31.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.754e-06/0.3844, allocations: 27.8 kB / 0.5689 GB, free: 31.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.645e-05/0.3845, allocations: 80.14 kB / 0.569 GB, free: 31.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.3845, allocations: 7.125 kB / 0.569 GB, free: 31.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.366e-05/0.3845, allocations: 15.88 kB / 0.569 GB, free: 31.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.629e-05/0.3846, allocations: 319.3 kB / 0.5693 GB, free: 30.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.081e-05/0.3846, allocations: 1.094 kB / 0.5693 GB, free: 30.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.112e-06/0.3846, allocations: 1.062 kB / 0.5693 GB, free: 30.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.49e-05/0.3846, allocations: 9.172 kB / 0.5693 GB, free: 30.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3847, allocations: 0 / 0.5693 GB, free: 30.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.006e-05/0.3847, allocations: 38.14 kB / 0.5694 GB, free: 30.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.3847, allocations: 6.219 kB / 0.5694 GB, free: 30.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3847, allocations: 3.938 kB / 0.5694 GB, free: 30.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.3848, allocations: 0 / 0.5694 GB, free: 30.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.426e-05/0.3848, allocations: 4.078 kB / 0.5694 GB, free: 30.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.3848, allocations: 3.984 kB / 0.5694 GB, free: 30.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.484e-05/0.3849, allocations: 6.031 kB / 0.5694 GB, free: 30.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.3849, allocations: 1.969 kB / 0.5694 GB, free: 30.81 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 4.821e-05/0.3849, allocations: 107.9 kB / 0.5695 GB, free: 30.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-06/0.3849, allocations: 2.25 kB / 0.5695 GB, free: 30.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.76e-05/0.385, allocations: 47.7 kB / 0.5695 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.385, allocations: 0 / 0.5695 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3851, allocations: 2.25 kB / 0.5695 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3851, allocations: 1.156 kB / 0.5695 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.034e-05/0.3851, allocations: 152.3 kB / 0.5697 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.3851, allocations: 1.031 kB / 0.5697 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.551e-05/0.3852, allocations: 3.062 kB / 0.5697 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3852, allocations: 5.5 kB / 0.5697 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.3852, allocations: 5.016 kB / 0.5697 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3852, allocations: 0 / 0.5697 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.3852, allocations: 1.875 kB / 0.5697 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.173e-05/0.3853, allocations: 59.61 kB / 0.5698 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.618e-05/0.3853, allocations: 77.81 kB / 0.5698 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.3853, allocations: 5.188 kB / 0.5698 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.228e-05/0.3853, allocations: 1.391 kB / 0.5698 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.172e-05/0.3853, allocations: 1.656 kB / 0.5698 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.3853, allocations: 2.094 kB / 0.5698 GB, free: 30.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.486e-05/0.3854, allocations: 76.03 kB / 0.5699 GB, free: 30.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3854, allocations: 2.875 kB / 0.5699 GB, free: 30.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002043/0.3856, allocations: 4.5 kB / 0.5699 GB, free: 30.22 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.0002782/0.3859, allocations: 0.6118 MB / 0.5705 GB, free: 29.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.323e-05/0.3859, allocations: 3.812 kB / 0.5705 GB, free: 29.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3859, allocations: 2.844 kB / 0.5705 GB, free: 29.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.979e-06/0.386, allocations: 3.344 kB / 0.5705 GB, free: 29.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/0.3861, allocations: 5.062 kB / 0.5705 GB, free: 29.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002717/0.3864, allocations: 107.7 kB / 0.5706 GB, free: 29.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.58e-05/0.3865, allocations: 0.6747 MB / 0.5713 GB, free: 28.78 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.411e-05/0.3865, allocations: 2.812 kB / 0.5713 GB, free: 28.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.097e-05/0.3865, allocations: 8.531 kB / 0.5713 GB, free: 28.77 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3866, allocations: 0 / 0.5713 GB, free: 28.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0196/0.4062, allocations: 0.9902 MB / 0.5723 GB, free: 28.47 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.28/7.686, allocations: 7.016 kB / 0.5723 GB, free: 28.47 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Polynomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)