Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.001246/0.001246, allocations: 118.1 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.001275/0.001275, 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.448/1.448, allocations: 225.6 MB / 248.5 MB, free: 3.609 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.869/0.869, allocations: 129.2 MB / 432.5 MB, free: 13.27 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.Examples.Polynomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Polynomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 71.89 kB / 0.5987 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4671/0.4691, allocations: 83.44 MB / 0.6802 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Polynomial): time 0.002528/0.4716, allocations: 1.437 MB / 0.6816 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003132/0.472, allocations: 97.97 kB / 0.6817 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.965e-05/0.472, allocations: 0.875 kB / 0.6817 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.621e-05/0.4721, allocations: 7.922 kB / 0.6817 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.4e-05/0.4721, allocations: 1.25 kB / 0.6817 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.4723, allocations: 22.97 kB / 0.6817 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.644e-05/0.4724, allocations: 24.98 kB / 0.6817 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.448e-05/0.4725, allocations: 2.625 kB / 0.6817 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.309e-05/0.4725, allocations: 14.58 kB / 0.6817 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.213e-05/0.4726, allocations: 7.562 kB / 0.6818 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.4726, allocations: 2.594 kB / 0.6818 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.209e-05/0.4727, allocations: 28.97 kB / 0.6818 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.579e-05/0.4727, allocations: 5.469 kB / 0.6818 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.198e-05/0.4727, allocations: 6.531 kB / 0.6818 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.4729, allocations: 39.19 kB / 0.6818 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.4729, allocations: 0 / 0.6818 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.385e-06/0.4729, allocations: 1.094 kB / 0.6818 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.4729, allocations: 0 / 0.6818 GB, free: 4.715 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003834/0.4732, allocations: 344.9 kB / 0.6822 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.4733, allocations: 10.19 kB / 0.6822 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.093e-05/0.4733, allocations: 42.67 kB / 0.6822 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.473e-05/0.4733, allocations: 7.219 kB / 0.6822 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.585e-05/0.4734, allocations: 166.6 kB / 0.6824 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.4734, allocations: 384 / 0.6824 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.4734, allocations: 1.594 kB / 0.6824 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.4736, allocations: 50.95 kB / 0.6824 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.4736, allocations: 5.188 kB / 0.6824 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.4736, allocations: 0 / 0.6824 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.4736, allocations: 3.938 kB / 0.6824 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.4738, allocations: 41.33 kB / 0.6825 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002603/0.4741, allocations: 253.1 kB / 0.6827 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.4742, allocations: 48.89 kB / 0.6828 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.806e-05/0.4743, allocations: 20.72 kB / 0.6828 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.4743, allocations: 5.156 kB / 0.6828 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.4743, allocations: 35.67 kB / 0.6828 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.4743, allocations: 1.188 kB / 0.6828 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003302/0.4747, allocations: 92.75 kB / 0.6829 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.4747, allocations: 51.41 kB / 0.683 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.729e-05/0.4747, allocations: 110.3 kB / 0.6831 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.216e-06/0.4748, allocations: 29.7 kB / 0.6831 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.993e-05/0.4748, allocations: 81.67 kB / 0.6832 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.4748, allocations: 9.109 kB / 0.6832 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/0.4748, allocations: 16.78 kB / 0.6832 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.37e-05/0.4749, allocations: 311.8 kB / 0.6835 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.654e-05/0.4749, allocations: 22.41 kB / 0.6835 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.374e-05/0.475, allocations: 18.52 kB / 0.6835 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.4751, allocations: 41.91 kB / 0.6836 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4751, allocations: 5.156 kB / 0.6836 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001635/0.4753, allocations: 70.92 kB / 0.6837 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.4753, allocations: 5.5 kB / 0.6837 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4753, allocations: 12.06 kB / 0.6837 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.4753, allocations: 1.406 kB / 0.6837 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.597e-05/0.4754, allocations: 4.969 kB / 0.6837 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.4754, allocations: 1.188 kB / 0.6837 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.28e-05/0.4755, allocations: 8.109 kB / 0.6837 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.4755, allocations: 0 / 0.6837 GB, free: 2.828 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 (2): * Single equations (assignments): 2 * 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.832e-05/0.4755, allocations: 112.6 kB / 0.6838 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.4756, allocations: 5.281 kB / 0.6838 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002088/0.4758, allocations: 82.8 kB / 0.6839 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.4758, allocations: 4 kB / 0.6839 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.4758, allocations: 1.312 kB / 0.6839 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.4758, allocations: 0 / 0.6839 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.4759, allocations: 176.1 kB / 0.684 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4759, allocations: 0 / 0.684 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.121e-05/0.476, allocations: 6.312 kB / 0.6841 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.476, allocations: 0 / 0.6841 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.476, allocations: 5.031 kB / 0.6841 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.476, allocations: 0 / 0.6841 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.476, allocations: 0.9688 kB / 0.6841 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.4762, allocations: 166.8 kB / 0.6842 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.4762, allocations: 85.05 kB / 0.6843 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.4762, allocations: 1.219 kB / 0.6843 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.899e-05/0.4763, allocations: 8.125 kB / 0.6843 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.4763, allocations: 9.266 kB / 0.6843 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.4763, allocations: 0 / 0.6843 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.937e-05/0.4763, allocations: 85.78 kB / 0.6844 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.4763, allocations: 0 / 0.6844 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000225/0.4766, allocations: 11.72 kB / 0.6844 GB, free: 2.074 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 (2): * Single equations (assignments): 2 * 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.0004299/0.477, allocations: 0.7096 MB / 0.6851 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002246/0.4772, allocations: 43.8 kB / 0.6851 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4772, allocations: 3.938 kB / 0.6851 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.74e-05/0.4773, allocations: 24.42 kB / 0.6852 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.4776, allocations: 6.344 kB / 0.6852 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004079/0.478, allocations: 147.6 kB / 0.6853 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.4781, allocations: 0.6782 MB / 0.686 GB, free: 496 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.219e-05/0.4781, allocations: 1.125 kB / 0.686 GB, free: 496 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.805e-05/0.4781, allocations: 9.594 kB / 0.686 GB, free: 488 kB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.4781, allocations: 0 / 0.686 GB, free: 488 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02567/0.5038, allocations: 1.429 MB / 0.6874 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.969/8.473, allocations: 7.438 kB / 0.6874 GB, free: 15.66 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_Polynomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.856929888017476] Failed to read output from testmodel.py, exit status != 0: 8.53947916207835 8.554499505 8.078649749 Calling exit ...