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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009398/0.0009398, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008616/0.0008616, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8989/0.8989, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.577/0.577, allocations: 114 MB / 373.9 MB, free: 8.723 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.583e-06/1.583e-06, allocations: 0 / 0.5542 GB, free: 1.645 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.592e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.641 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.001416/0.001442, allocations: 0.5729 MB / 0.5548 GB, free: 1.074 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001643/0.001606, allocations: 19.92 kB / 0.5548 GB, free: 1.055 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.265e-05/0.001619, allocations: 4 kB / 0.5548 GB, free: 1.051 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.255e-05/0.001631, allocations: 0 / 0.5548 GB, free: 1.051 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 5.911e-06/0.001637, allocations: 0 / 0.5548 GB, free: 1.051 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.001877, allocations: 11.97 kB / 0.5548 GB, free: 1.039 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 4.066e-05/0.001918, allocations: 11.94 kB / 0.5549 GB, free: 1.027 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.284e-05/0.00195, allocations: 0 / 0.5549 GB, free: 1.027 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.332e-05/0.001974, allocations: 3.984 kB / 0.5549 GB, free: 1.023 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.753e-05/0.001991, allocations: 4 kB / 0.5549 GB, free: 1.02 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.002004, allocations: 0 / 0.5549 GB, free: 1.02 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.3e-05/0.002067, allocations: 19.91 kB / 0.5549 GB, free: 1 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 8.516e-06/0.002075, allocations: 4 kB / 0.5549 GB, free: 0.9961 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.207e-05/0.002087, allocations: 0 / 0.5549 GB, free: 0.9961 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 7.394e-05/0.002161, allocations: 15.92 kB / 0.5549 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.002163, allocations: 0 / 0.5549 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.002163, allocations: 0 / 0.5549 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.002167, allocations: 0 / 0.5549 GB, free: 0.9805 MB / 474.7 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.0002173/0.002385, allocations: 234.5 kB / 0.5551 GB, free: 0.7188 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.002421, allocations: 8.625 kB / 0.5551 GB, free: 0.7109 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.659e-05/0.002448, allocations: 38.75 kB / 0.5552 GB, free: 0.6641 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.791e-05/0.002466, allocations: 0.9375 kB / 0.5552 GB, free: 0.6641 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.338e-05/0.002519, allocations: 105.8 kB / 0.5553 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.815e-06/0.002527, allocations: 8.375 kB / 0.5553 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.252e-06/0.002533, allocations: 384 / 0.5553 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.081e-05/0.002604, allocations: 34.19 kB / 0.5553 GB, free: 500 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.95e-06/0.002609, allocations: 192 / 0.5553 GB, free: 500 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.002618, allocations: 4.375 kB / 0.5553 GB, free: 496 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.002623, allocations: 4.125 kB / 0.5553 GB, free: 492 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.715e-05/0.00264, allocations: 3.938 kB / 0.5553 GB, free: 488 kB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.867e-05/0.002739, allocations: 124.8 kB / 0.5554 GB, free: 320 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.317e-05/0.002772, allocations: 14.58 kB / 0.5555 GB, free: 296 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.269e-05/0.002785, allocations: 4.859 kB / 0.5555 GB, free: 288 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.608e-05/0.002821, allocations: 8.094 kB / 0.5555 GB, free: 280 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.002839, allocations: 30.56 kB / 0.5555 GB, free: 240 kB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.00284, allocations: 3.938 kB / 0.5555 GB, free: 236 kB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001187/0.002959, allocations: 37.64 kB / 0.5555 GB, free: 192 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.002988, allocations: 55.34 kB / 0.5556 GB, free: 124 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.268e-05/0.00302, allocations: 97.84 kB / 0.5557 GB, free: 16 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.003045, allocations: 25.7 kB / 0.5557 GB, free: 15.98 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.111e-05/0.003066, allocations: 80.14 kB / 0.5558 GB, free: 15.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.003091, allocations: 0 / 0.5558 GB, free: 15.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.811e-05/0.003119, allocations: 13.72 kB / 0.5558 GB, free: 15.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.849e-05/0.003207, allocations: 315 kB / 0.5561 GB, free: 15.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.069e-05/0.003218, allocations: 0 / 0.5561 GB, free: 15.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.805e-06/0.003226, allocations: 4 kB / 0.5561 GB, free: 15.56 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.681e-05/0.003253, allocations: 12.86 kB / 0.5561 GB, free: 15.55 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.003254, allocations: 0 / 0.5561 GB, free: 15.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.665e-05/0.003301, allocations: 37.62 kB / 0.5561 GB, free: 15.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.003313, allocations: 4 kB / 0.5562 GB, free: 15.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.003317, allocations: 0 / 0.5562 GB, free: 15.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.003327, allocations: 4 kB / 0.5562 GB, free: 15.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.679e-05/0.003383, allocations: 4.094 kB / 0.5562 GB, free: 15.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.003388, allocations: 3.938 kB / 0.5562 GB, free: 15.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.197e-06/0.003397, allocations: 0 / 0.5562 GB, free: 15.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.003411, allocations: 4 kB / 0.5562 GB, free: 15.48 MB / 490.7 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.406e-05/0.003465, allocations: 105.8 kB / 0.5563 GB, free: 15.37 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-06/0.00347, allocations: 0 / 0.5563 GB, free: 15.37 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.953e-05/0.003569, allocations: 48.62 kB / 0.5563 GB, free: 15.32 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.003571, allocations: 32 / 0.5563 GB, free: 15.32 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.003576, allocations: 7.938 kB / 0.5563 GB, free: 15.31 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.003579, allocations: 0 / 0.5563 GB, free: 15.31 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.997e-05/0.003649, allocations: 116.8 kB / 0.5564 GB, free: 15.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.00365, allocations: 4 kB / 0.5564 GB, free: 15.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.654e-05/0.003666, allocations: 4 kB / 0.5564 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.003669, allocations: 0 / 0.5564 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.003674, allocations: 0 / 0.5564 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.003676, allocations: 7.922 kB / 0.5564 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.003678, allocations: 7.938 kB / 0.5565 GB, free: 15.13 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.068e-05/0.003729, allocations: 61.08 kB / 0.5565 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.276e-06/0.003732, allocations: 8.031 kB / 0.5565 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-06/0.00374, allocations: 3.938 kB / 0.5565 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.029e-06/0.003745, allocations: 0 / 0.5565 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.31e-05/0.003759, allocations: 3.938 kB / 0.5565 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.003765, allocations: 4 kB / 0.5565 GB, free: 15.03 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.389e-05/0.003788, allocations: 75.28 kB / 0.5566 GB, free: 14.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.003788, allocations: 3.938 kB / 0.5566 GB, free: 14.95 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001285/0.003917, allocations: 0 / 0.5566 GB, free: 14.95 MB / 490.7 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.0003261/0.004243, allocations: 0.6007 MB / 0.5572 GB, free: 14.32 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.012e-05/0.004313, allocations: 4 kB / 0.5572 GB, free: 14.32 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.004315, allocations: 0 / 0.5572 GB, free: 14.32 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.863e-06/0.004322, allocations: 11.92 kB / 0.5572 GB, free: 14.31 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001002/0.004422, allocations: 5.812 kB / 0.5572 GB, free: 14.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002734/0.004696, allocations: 106.7 kB / 0.5573 GB, free: 14.16 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.14e-05/0.004737, allocations: 55.36 kB / 0.5574 GB, free: 14.09 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.811e-05/0.004765, allocations: 12.12 kB / 0.5574 GB, free: 14.07 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.895e-05/0.004794, allocations: 12.48 kB / 0.5574 GB, free: 14.06 MB / 490.7 MB Notification: Performance of SimCode: time 7.21e-07/0.004795, allocations: 0 / 0.5574 GB, free: 14.06 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01834/0.02313, allocations: 1.642 MB / 0.559 GB, free: 12.57 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.946/6.969, allocations: 4 kB / 0.559 GB, free: 12.56 MB / 490.7 MB " [Timeout remaining time 653] (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: 9.455047621391714] Failed to read output from testmodel.py, exit status != 0: 7.0494780065491796 7.065857674 7.061295817 Calling exit ...