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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001737/0.001738, allocations: 107.2 kB / 16.4 MB, free: 6.445 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.001945/0.001945, allocations: 195.9 kB / 17.34 MB, free: 5.719 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.571/1.571, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.855/0.855, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 64.61 kB / 0.5572 GB, free: 32.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2233, allocations: 76.17 MB / 0.6316 GB, free: 4.918 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Polynomial): time 0.004725/0.2281, allocations: 1.423 MB / 0.633 GB, free: 3.484 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.000456/0.2287, allocations: 96.56 kB / 0.6331 GB, free: 3.387 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.345e-05/0.2287, allocations: 4 kB / 0.6331 GB, free: 3.383 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 7.832e-05/0.2288, allocations: 7.938 kB / 0.6331 GB, free: 3.375 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.999e-05/0.2289, allocations: 0 / 0.6331 GB, free: 3.375 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002982/0.2292, allocations: 27.86 kB / 0.6331 GB, free: 3.348 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.741e-05/0.2293, allocations: 19.92 kB / 0.6331 GB, free: 3.328 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.2295, allocations: 11.98 kB / 0.6331 GB, free: 3.316 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.666e-05/0.2295, allocations: 7.984 kB / 0.6331 GB, free: 3.309 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.115e-05/0.2296, allocations: 7.938 kB / 0.6332 GB, free: 3.301 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.2296, allocations: 4 kB / 0.6332 GB, free: 3.297 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.2297, allocations: 19.97 kB / 0.6332 GB, free: 3.277 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.219e-05/0.2298, allocations: 12 kB / 0.6332 GB, free: 3.266 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.2298, allocations: 7.938 kB / 0.6332 GB, free: 3.258 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.23, allocations: 43.88 kB / 0.6332 GB, free: 3.215 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.23, allocations: 0 / 0.6332 GB, free: 3.215 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.23, allocations: 0 / 0.6332 GB, free: 3.215 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.23, allocations: 0 / 0.6332 GB, free: 3.215 MB / 478.1 MB 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.0005772/0.2306, allocations: 342.3 kB / 0.6336 GB, free: 2.832 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.038e-05/0.2307, allocations: 15.97 kB / 0.6336 GB, free: 2.816 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.473e-05/0.2307, allocations: 30.75 kB / 0.6336 GB, free: 2.777 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/0.2308, allocations: 8.922 kB / 0.6336 GB, free: 2.77 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.2309, allocations: 168.3 kB / 0.6338 GB, free: 2.566 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.231, allocations: 384 / 0.6338 GB, free: 2.566 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.231, allocations: 4.312 kB / 0.6338 GB, free: 2.562 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.2312, allocations: 54.22 kB / 0.6338 GB, free: 2.504 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.2312, allocations: 3.938 kB / 0.6338 GB, free: 2.5 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.2313, allocations: 4 kB / 0.6338 GB, free: 2.496 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.2313, allocations: 0 / 0.6338 GB, free: 2.496 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.2315, allocations: 39.95 kB / 0.6339 GB, free: 2.457 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005111/0.232, allocations: 253.4 kB / 0.6341 GB, free: 2.16 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.2321, allocations: 46.53 kB / 0.6342 GB, free: 2.105 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.2323, allocations: 24.91 kB / 0.6342 GB, free: 2.078 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.352e-05/0.2323, allocations: 4 kB / 0.6342 GB, free: 2.074 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.2324, allocations: 38.48 kB / 0.6342 GB, free: 2.027 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.793e-06/0.2324, allocations: 0 / 0.6342 GB, free: 2.027 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004324/0.2328, allocations: 89.58 kB / 0.6343 GB, free: 1.934 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.2329, allocations: 51.41 kB / 0.6344 GB, free: 1.871 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.233, allocations: 106 kB / 0.6345 GB, free: 1.758 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.233, allocations: 33.69 kB / 0.6345 GB, free: 1.719 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.9e-05/0.2331, allocations: 84.42 kB / 0.6346 GB, free: 1.633 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.2332, allocations: 7.844 kB / 0.6346 GB, free: 1.625 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-05/0.2332, allocations: 13.72 kB / 0.6346 GB, free: 1.605 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.2334, allocations: 314.8 kB / 0.6349 GB, free: 1.289 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.929e-05/0.2335, allocations: 19.97 kB / 0.6349 GB, free: 1.27 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.798e-05/0.2336, allocations: 19.98 kB / 0.6349 GB, free: 1.25 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.2338, allocations: 44.81 kB / 0.635 GB, free: 1.203 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.2338, allocations: 3.938 kB / 0.635 GB, free: 1.199 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002651/0.2341, allocations: 69.52 kB / 0.6351 GB, free: 1.125 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.2341, allocations: 8 kB / 0.6351 GB, free: 1.117 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.2341, allocations: 96 / 0.6351 GB, free: 1.117 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.2342, allocations: 7.984 kB / 0.6351 GB, free: 1.109 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.2343, allocations: 4 kB / 0.6351 GB, free: 1.105 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.2343, allocations: 4 kB / 0.6351 GB, free: 1.102 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.694e-05/0.2343, allocations: 3.984 kB / 0.6351 GB, free: 1.098 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.405e-06/0.2343, allocations: 4.25 kB / 0.6351 GB, free: 1.094 MB / 478.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 (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 0.0001038/0.2344, allocations: 113.8 kB / 0.6352 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.2345, allocations: 4 kB / 0.6352 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000282/0.2348, allocations: 89.11 kB / 0.6353 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-06/0.2348, allocations: 0 / 0.6353 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.2348, allocations: 3.938 kB / 0.6353 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.2348, allocations: 0 / 0.6353 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.235, allocations: 161.6 kB / 0.6354 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.235, allocations: 0 / 0.6354 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.155e-05/0.2351, allocations: 11.98 kB / 0.6354 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.2351, allocations: 0 / 0.6354 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.2351, allocations: 0 / 0.6354 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2352, allocations: 4.031 kB / 0.6355 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2352, allocations: 0 / 0.6355 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.2354, allocations: 171.4 kB / 0.6356 GB, free: 472 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.878e-05/0.2355, allocations: 81.09 kB / 0.6357 GB, free: 372 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.2355, allocations: 0 / 0.6357 GB, free: 372 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.515e-05/0.2356, allocations: 11.97 kB / 0.6357 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.2357, allocations: 3.984 kB / 0.6357 GB, free: 356 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.2357, allocations: 4 kB / 0.6357 GB, free: 352 kB / 478.1 MB Notification: Performance of sorting global known variables: time 6.015e-05/0.2358, allocations: 83.28 kB / 0.6358 GB, free: 268 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2358, allocations: 3.938 kB / 0.6358 GB, free: 264 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002454/0.236, allocations: 8 kB / 0.6358 GB, free: 256 kB / 478.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 (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.0009414/0.237, allocations: 0.7007 MB / 0.6365 GB, free: 15.52 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002631/0.2372, allocations: 43.91 kB / 0.6365 GB, free: 15.48 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.2373, allocations: 0 / 0.6365 GB, free: 15.48 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.2374, allocations: 24.06 kB / 0.6366 GB, free: 15.46 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.2378, allocations: 5.469 kB / 0.6366 GB, free: 15.45 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007075/0.2385, allocations: 147.2 kB / 0.6367 GB, free: 15.27 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005371/0.2391, allocations: 0.6807 MB / 0.6374 GB, free: 14.56 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.285e-05/0.2391, allocations: 0 / 0.6374 GB, free: 14.56 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.243e-05/0.2392, allocations: 11.44 kB / 0.6374 GB, free: 14.55 MB / 494.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2392, allocations: 0 / 0.6374 GB, free: 14.55 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7688/1.008, allocations: 1.437 MB / 0.6388 GB, free: 13.18 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.29/15.3, allocations: 13.72 kB / 0.6388 GB, free: 13.17 MB / 494.1 MB (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 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_Polynomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1)