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.001654/0.001654, allocations: 113.2 kB / 20.48 MB, free: 1.488 MB / 14.72 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.002014/0.002014, allocations: 217.4 kB / 23.79 MB, free: 4.695 MB / 14.72 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 1.505/1.505, allocations: 230.6 MB / 257.6 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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.9685/0.9685, allocations: 150 MB / 464 MB, free: 10.48 MB / 366.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Polynomial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 66.23 kB / 0.6421 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2208, allocations: 89.17 MB / 0.7292 GB, free: 1.238 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.002294/0.2231, allocations: 0.579 MB / 0.7297 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002468/0.2234, allocations: 35.83 kB / 0.7298 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.303e-05/0.2234, allocations: 0 / 0.7298 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.77e-05/0.2234, allocations: 0 / 0.7298 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.151e-06/0.2234, allocations: 0 / 0.7298 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.2237, allocations: 19.91 kB / 0.7298 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.969e-05/0.2237, allocations: 4 kB / 0.7298 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.441e-05/0.2238, allocations: 0 / 0.7298 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.673e-05/0.2238, allocations: 0 / 0.7298 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.595e-05/0.2238, allocations: 4 kB / 0.7298 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.2238, allocations: 0 / 0.7298 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.2239, allocations: 19.97 kB / 0.7298 GB, free: 0.582 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.055e-06/0.224, allocations: 0 / 0.7298 GB, free: 0.582 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.825e-05/0.224, allocations: 4 kB / 0.7298 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.277e-05/0.2241, allocations: 7.984 kB / 0.7298 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.2241, allocations: 4 kB / 0.7298 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2241, allocations: 0 / 0.7298 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.2241, allocations: 0 / 0.7298 GB, free: 0.5664 MB / 0.545 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.0003483/0.2244, allocations: 238.7 kB / 0.73 GB, free: 308 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.2245, allocations: 19.97 kB / 0.7301 GB, free: 288 kB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.425e-05/0.2245, allocations: 192 / 0.7301 GB, free: 288 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.083e-05/0.2245, allocations: 30.75 kB / 0.7301 GB, free: 248 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.392e-05/0.2246, allocations: 0.9375 kB / 0.7301 GB, free: 248 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.973e-05/0.2247, allocations: 102.5 kB / 0.7302 GB, free: 120 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.2247, allocations: 384 / 0.7302 GB, free: 120 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.2247, allocations: 384 / 0.7302 GB, free: 120 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.2248, allocations: 41.95 kB / 0.7302 GB, free: 72 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.2248, allocations: 0 / 0.7302 GB, free: 72 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.2248, allocations: 7.984 kB / 0.7302 GB, free: 64 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.2248, allocations: 4 kB / 0.7302 GB, free: 60 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.558e-05/0.2248, allocations: 4 kB / 0.7302 GB, free: 56 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001983/0.225, allocations: 116.8 kB / 0.7304 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.676e-05/0.2251, allocations: 18.61 kB / 0.7304 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.25e-05/0.2251, allocations: 8.859 kB / 0.7304 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.685e-05/0.2252, allocations: 3.938 kB / 0.7304 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.2252, allocations: 42.56 kB / 0.7304 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.2252, allocations: 0 / 0.7304 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001429/0.2253, allocations: 33.69 kB / 0.7305 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.2254, allocations: 51.41 kB / 0.7305 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.628e-05/0.2254, allocations: 89.86 kB / 0.7306 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.2255, allocations: 29.64 kB / 0.7306 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.871e-05/0.2255, allocations: 80.14 kB / 0.7307 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.2255, allocations: 7.953 kB / 0.7307 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.2256, allocations: 17.84 kB / 0.7307 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.2258, allocations: 310.8 kB / 0.731 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.378e-05/0.2258, allocations: 0 / 0.731 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.356e-05/0.2258, allocations: 11.92 kB / 0.731 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.625e-05/0.2258, allocations: 8.859 kB / 0.731 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2258, allocations: 0 / 0.731 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.486e-05/0.2259, allocations: 33.7 kB / 0.7311 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.2259, allocations: 8.031 kB / 0.7311 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.2259, allocations: 4 kB / 0.7311 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.226, allocations: 7.984 kB / 0.7311 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.262e-05/0.226, allocations: 0 / 0.7311 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.226, allocations: 3.984 kB / 0.7311 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.109e-05/0.2261, allocations: 7.922 kB / 0.7311 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.2261, allocations: 4 kB / 0.7311 GB, free: 15.05 MB / 0.5606 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 0.0001145/0.2262, allocations: 105.8 kB / 0.7312 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.2262, allocations: 3.938 kB / 0.7312 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/0.2263, allocations: 52.62 kB / 0.7313 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2263, allocations: 0 / 0.7313 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.2263, allocations: 0 / 0.7313 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2263, allocations: 0 / 0.7313 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.2265, allocations: 112.8 kB / 0.7314 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2265, allocations: 0 / 0.7314 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.087e-05/0.2265, allocations: 4 kB / 0.7314 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.2265, allocations: 3.938 kB / 0.7314 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.2265, allocations: 4.031 kB / 0.7314 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2265, allocations: 0 / 0.7314 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.2265, allocations: 3.984 kB / 0.7314 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.645e-05/0.2266, allocations: 61.08 kB / 0.7314 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.541e-06/0.2266, allocations: 0 / 0.7314 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.2266, allocations: 11.94 kB / 0.7315 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.61e-05/0.2266, allocations: 0 / 0.7315 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.84e-05/0.2267, allocations: 8.016 kB / 0.7315 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.2267, allocations: 0 / 0.7315 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.083e-05/0.2267, allocations: 75.28 kB / 0.7315 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2267, allocations: 0 / 0.7315 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003421/0.2271, allocations: 4 kB / 0.7315 GB, free: 14.53 MB / 0.5606 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.0005363/0.2276, allocations: 0.5968 MB / 0.7321 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.766e-05/0.2277, allocations: 11.88 kB / 0.7321 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.2277, allocations: 4 kB / 0.7321 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.088e-05/0.2277, allocations: 0 / 0.7321 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.2279, allocations: 0 / 0.7321 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004374/0.2283, allocations: 118.5 kB / 0.7322 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.2287, allocations: 0.669 MB / 0.7329 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.116e-05/0.2287, allocations: 4.125 kB / 0.7329 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.69e-05/0.2288, allocations: 11.44 kB / 0.7329 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.2288, allocations: 0 / 0.7329 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02632/0.2551, allocations: 1.136 MB / 0.734 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.3, allocations: 0 / 0.734 GB, free: 12.03 MB / 0.5606 GB " [Timeout remaining time 649] (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: 15.193807318981271] Failed to read output from testmodel.py, exit status != 0: 11.462618347024545 11.48598563 11.257099461 Calling exit ...