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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 103.3 kB / 16.4 MB, free: 6.492 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.001128/0.001128, allocations: 195.8 kB / 17.34 MB, free: 5.766 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.886/1.886, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.962/0.962, allocations: 115.3 MB / 406.5 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 63.67 kB / 0.5572 GB, free: 32.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1421, allocations: 76.19 MB / 0.6316 GB, free: 4.852 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.001484/0.1436, allocations: 0.5596 MB / 0.6322 GB, free: 4.297 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002079/0.1438, allocations: 31.88 kB / 0.6322 GB, free: 4.266 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.592e-05/0.1438, allocations: 0 / 0.6322 GB, free: 4.266 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.352e-05/0.1439, allocations: 4 kB / 0.6322 GB, free: 4.262 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.851e-06/0.1439, allocations: 7.938 kB / 0.6322 GB, free: 4.254 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.1441, allocations: 11.98 kB / 0.6322 GB, free: 4.242 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.303e-05/0.1442, allocations: 4 kB / 0.6322 GB, free: 4.238 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.774e-05/0.1442, allocations: 0 / 0.6322 GB, free: 4.238 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.457e-05/0.1442, allocations: 3.984 kB / 0.6322 GB, free: 4.234 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.713e-05/0.1443, allocations: 0 / 0.6322 GB, free: 4.234 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.905e-06/0.1443, allocations: 3.938 kB / 0.6323 GB, free: 4.23 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.289e-05/0.1444, allocations: 15.98 kB / 0.6323 GB, free: 4.215 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.384e-06/0.1444, allocations: 0 / 0.6323 GB, free: 4.215 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.827e-05/0.1444, allocations: 7.938 kB / 0.6323 GB, free: 4.207 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 7.87e-05/0.1445, allocations: 23.91 kB / 0.6323 GB, free: 4.184 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1445, allocations: 0 / 0.6323 GB, free: 4.184 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1445, allocations: 0 / 0.6323 GB, free: 4.184 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.126e-06/0.1445, allocations: 0 / 0.6323 GB, free: 4.184 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002566/0.1448, allocations: 315.5 kB / 0.6326 GB, free: 3.824 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.1448, allocations: 12.06 kB / 0.6326 GB, free: 3.812 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.974e-05/0.1449, allocations: 30.75 kB / 0.6326 GB, free: 3.773 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.407e-05/0.1449, allocations: 4.938 kB / 0.6326 GB, free: 3.77 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.072e-05/0.145, allocations: 160.4 kB / 0.6328 GB, free: 3.574 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.145, allocations: 384 / 0.6328 GB, free: 3.574 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.211e-06/0.145, allocations: 4.375 kB / 0.6328 GB, free: 3.57 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.719e-05/0.1451, allocations: 34.25 kB / 0.6328 GB, free: 3.531 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1451, allocations: 3.938 kB / 0.6328 GB, free: 3.527 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.1451, allocations: 0 / 0.6328 GB, free: 3.527 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.1451, allocations: 0 / 0.6328 GB, free: 3.527 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.966e-05/0.1451, allocations: 7.938 kB / 0.6328 GB, free: 3.52 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001141/0.1453, allocations: 145.7 kB / 0.633 GB, free: 3.328 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.612e-05/0.1453, allocations: 18.58 kB / 0.633 GB, free: 3.301 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.6e-05/0.1453, allocations: 16.94 kB / 0.633 GB, free: 3.281 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.21e-05/0.1454, allocations: 0 / 0.633 GB, free: 3.281 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.1454, allocations: 30.56 kB / 0.633 GB, free: 3.242 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 1.903e-06/0.1454, allocations: 4 kB / 0.633 GB, free: 3.238 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001168/0.1455, allocations: 41.52 kB / 0.6331 GB, free: 3.191 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.1456, allocations: 51.41 kB / 0.6331 GB, free: 3.129 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.305e-05/0.1456, allocations: 89.86 kB / 0.6332 GB, free: 3.031 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.1456, allocations: 33.83 kB / 0.6333 GB, free: 2.992 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.124e-05/0.1456, allocations: 80.48 kB / 0.6333 GB, free: 2.91 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.1457, allocations: 3.906 kB / 0.6333 GB, free: 2.906 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.419e-05/0.1457, allocations: 17.7 kB / 0.6334 GB, free: 2.883 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.546e-05/0.1458, allocations: 310.8 kB / 0.6337 GB, free: 2.57 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.027e-06/0.1458, allocations: 0 / 0.6337 GB, free: 2.57 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.384e-06/0.1458, allocations: 4 kB / 0.6337 GB, free: 2.566 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.446e-05/0.1458, allocations: 12.92 kB / 0.6337 GB, free: 2.551 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1458, allocations: 0 / 0.6337 GB, free: 2.551 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.921e-05/0.1459, allocations: 37.64 kB / 0.6337 GB, free: 2.508 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.1459, allocations: 7.984 kB / 0.6337 GB, free: 2.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1459, allocations: 3.938 kB / 0.6337 GB, free: 2.496 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.1459, allocations: 4 kB / 0.6337 GB, free: 2.492 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.453e-05/0.146, allocations: 0 / 0.6337 GB, free: 2.492 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.146, allocations: 0 / 0.6337 GB, free: 2.492 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.111e-05/0.146, allocations: 0 / 0.6337 GB, free: 2.492 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.146, allocations: 7.938 kB / 0.6337 GB, free: 2.484 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 (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.12e-05/0.1461, allocations: 109.9 kB / 0.6338 GB, free: 2.367 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.532e-06/0.1461, allocations: 0 / 0.6338 GB, free: 2.367 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.183e-05/0.1462, allocations: 52.69 kB / 0.6339 GB, free: 2.309 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.1462, allocations: 0 / 0.6339 GB, free: 2.309 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.1462, allocations: 0 / 0.6339 GB, free: 2.309 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.1462, allocations: 0 / 0.6339 GB, free: 2.309 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.929e-05/0.1463, allocations: 141.7 kB / 0.634 GB, free: 2.121 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1463, allocations: 8.016 kB / 0.634 GB, free: 2.113 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.908e-05/0.1463, allocations: 4 kB / 0.634 GB, free: 2.109 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.1463, allocations: 0 / 0.634 GB, free: 2.109 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-06/0.1463, allocations: 3.938 kB / 0.634 GB, free: 2.105 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.1463, allocations: 0 / 0.634 GB, free: 2.105 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1463, allocations: 0 / 0.634 GB, free: 2.105 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.695e-05/0.1464, allocations: 61.14 kB / 0.6341 GB, free: 2.027 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.618e-05/0.1464, allocations: 85.12 kB / 0.6342 GB, free: 1.926 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.1465, allocations: 3.938 kB / 0.6342 GB, free: 1.922 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.171e-05/0.1465, allocations: 7.938 kB / 0.6342 GB, free: 1.914 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.073e-05/0.1465, allocations: 4 kB / 0.6342 GB, free: 1.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.1465, allocations: 3.984 kB / 0.6342 GB, free: 1.906 MB / 478.1 MB Notification: Performance of sorting global known variables: time 2.36e-05/0.1465, allocations: 79.22 kB / 0.6343 GB, free: 1.828 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1465, allocations: 0 / 0.6343 GB, free: 1.828 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0001791/0.1467, allocations: 4 kB / 0.6343 GB, free: 1.824 MB / 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 (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.0003154/0.147, allocations: 0.6035 MB / 0.6349 GB, free: 1.191 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 6.214e-05/0.1471, allocations: 4 kB / 0.6349 GB, free: 1.188 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1471, allocations: 0 / 0.6349 GB, free: 1.188 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 9.679e-06/0.1471, allocations: 7.938 kB / 0.6349 GB, free: 1.18 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001226/0.1473, allocations: 9.391 kB / 0.6349 GB, free: 1.172 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002505/0.1475, allocations: 114.9 kB / 0.635 GB, free: 1.02 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/0.1477, allocations: 0.669 MB / 0.6356 GB, free: 332 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 1.887e-05/0.1477, allocations: 0 / 0.6356 GB, free: 332 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.121e-05/0.1478, allocations: 15.42 kB / 0.6357 GB, free: 316 kB / 478.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1478, allocations: 0 / 0.6357 GB, free: 316 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5803/0.7281, allocations: 1.01 MB / 0.6366 GB, free: 15.38 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.35, allocations: 10.28 kB / 0.6367 GB, free: 15.37 MB / 494.1 MB (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 --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)