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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 117.7 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 192.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.896/0.896, allocations: 129.2 MB / 432.5 MB, free: 13.11 MB / 350.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 83.8 kB / 0.5987 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.478/0.48, allocations: 83.44 MB / 0.6802 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.001612/0.4817, allocations: 0.5754 MB / 0.6808 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002452/0.4819, allocations: 34.17 kB / 0.6808 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.481e-05/0.4819, allocations: 3.938 kB / 0.6808 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.415e-05/0.4819, allocations: 3.938 kB / 0.6808 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.762e-06/0.4819, allocations: 0 / 0.6808 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.4822, allocations: 14.48 kB / 0.6808 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.088e-05/0.4823, allocations: 1.5 kB / 0.6808 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.817e-05/0.4823, allocations: 1.469 kB / 0.6808 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.776e-05/0.4823, allocations: 5.297 kB / 0.6808 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.095e-05/0.4824, allocations: 0 / 0.6808 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.4824, allocations: 5.188 kB / 0.6809 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.851e-05/0.4825, allocations: 18.98 kB / 0.6809 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.072e-05/0.4825, allocations: 1.625 kB / 0.6809 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.79e-05/0.4825, allocations: 0 / 0.6809 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.283e-05/0.4826, allocations: 17.78 kB / 0.6809 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4826, allocations: 1.562 kB / 0.6809 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4826, allocations: 0 / 0.6809 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.902e-06/0.4826, allocations: 0 / 0.6809 GB, free: 5.508 MB / 0.4981 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.0002785/0.4829, allocations: 315.3 kB / 0.6812 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.4829, allocations: 14.19 kB / 0.6812 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.549e-05/0.483, allocations: 30.75 kB / 0.6812 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.333e-05/0.483, allocations: 0.9375 kB / 0.6812 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.194e-05/0.483, allocations: 169.8 kB / 0.6814 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.4831, allocations: 384 / 0.6814 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.4831, allocations: 5.797 kB / 0.6814 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.961e-05/0.4832, allocations: 27.8 kB / 0.6814 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.4832, allocations: 3.938 kB / 0.6814 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.4832, allocations: 0 / 0.6814 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.4832, allocations: 1.469 kB / 0.6814 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.173e-05/0.4832, allocations: 13.31 kB / 0.6814 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001006/0.4833, allocations: 151.1 kB / 0.6816 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.583e-05/0.4833, allocations: 15.92 kB / 0.6816 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.747e-05/0.4834, allocations: 9.172 kB / 0.6816 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.556e-05/0.4834, allocations: 1.438 kB / 0.6816 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.178e-05/0.4834, allocations: 31.78 kB / 0.6816 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.4834, allocations: 4 kB / 0.6816 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001321/0.4835, allocations: 42.77 kB / 0.6817 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.4836, allocations: 52.94 kB / 0.6817 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.116e-05/0.4836, allocations: 89.86 kB / 0.6818 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.4836, allocations: 29.69 kB / 0.6819 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.531e-05/0.4836, allocations: 80.14 kB / 0.6819 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.4836, allocations: 7.922 kB / 0.6819 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.252e-05/0.4837, allocations: 12.09 kB / 0.6819 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.931e-05/0.4837, allocations: 315 kB / 0.6823 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.132e-05/0.4837, allocations: 1.375 kB / 0.6823 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.625e-06/0.4837, allocations: 1.344 kB / 0.6823 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.444e-05/0.4838, allocations: 12.52 kB / 0.6823 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.4838, allocations: 4 kB / 0.6823 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.485e-05/0.4838, allocations: 38.91 kB / 0.6823 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.4838, allocations: 4.844 kB / 0.6823 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.4838, allocations: 5.438 kB / 0.6823 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.4838, allocations: 4.094 kB / 0.6823 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.41e-05/0.4839, allocations: 1.312 kB / 0.6823 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.4839, allocations: 5.328 kB / 0.6823 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.257e-05/0.4839, allocations: 0 / 0.6823 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.4839, allocations: 1.031 kB / 0.6823 GB, free: 3.863 MB / 0.4981 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 4.528e-05/0.484, allocations: 106.9 kB / 0.6824 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-06/0.484, allocations: 1.344 kB / 0.6824 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.051e-05/0.4841, allocations: 58.03 kB / 0.6825 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.4841, allocations: 1.25 kB / 0.6825 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4841, allocations: 0 / 0.6825 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.4841, allocations: 1.375 kB / 0.6825 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.419e-05/0.4841, allocations: 145.7 kB / 0.6826 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4841, allocations: 1.469 kB / 0.6826 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.599e-05/0.4841, allocations: 1.531 kB / 0.6826 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.4841, allocations: 0 / 0.6826 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.4842, allocations: 5.25 kB / 0.6826 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.4842, allocations: 0 / 0.6826 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4842, allocations: 4.031 kB / 0.6826 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.276e-05/0.4842, allocations: 59.59 kB / 0.6827 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.926e-05/0.4842, allocations: 78.3 kB / 0.6828 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.4842, allocations: 7.875 kB / 0.6828 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.051e-05/0.4843, allocations: 1.281 kB / 0.6828 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.591e-05/0.4843, allocations: 0 / 0.6828 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.4843, allocations: 5.469 kB / 0.6828 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.312e-05/0.4843, allocations: 80.59 kB / 0.6829 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3e-08/0.4843, allocations: 0 / 0.6829 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002028/0.4845, allocations: 3.844 kB / 0.6829 GB, free: 3.242 MB / 0.4981 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.0002745/0.4848, allocations: 0.6002 MB / 0.6835 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.708e-05/0.4849, allocations: 16.11 kB / 0.6835 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4849, allocations: 0 / 0.6835 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.067e-06/0.4849, allocations: 6.438 kB / 0.6835 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001206/0.485, allocations: 1.188 kB / 0.6835 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002561/0.4852, allocations: 105.5 kB / 0.6836 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.588e-05/0.4853, allocations: 0.6744 MB / 0.6842 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.208e-05/0.4854, allocations: 9.719 kB / 0.6842 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.996e-05/0.4854, allocations: 8.969 kB / 0.6843 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.4854, allocations: 0 / 0.6843 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02294/0.5083, allocations: 1.028 MB / 0.6853 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.842/8.35, allocations: 11.89 kB / 0.6853 GB, free: 1.152 MB / 0.4981 GB " [Timeout remaining time 652] (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 --stepSize=0.0016 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.837956472299993] Failed to read output from testmodel.py, exit status != 0: 8.418465561233461 8.444792541 7.95676461 Calling exit ...