Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="BuildSysPro_BuildSysPro_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.0009878/0.0009876, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.0008699/0.00087, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.992/0.992, allocations: 143.4 MB / 434.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000344/0.0003441, allocations: 12 kB / 0.5161 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1601, allocations: 83.43 MB / 0.5976 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.0005902/0.1607, allocations: 307.1 kB / 0.5979 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001655/0.1609, allocations: 31.92 kB / 0.5979 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.374e-06/0.1609, allocations: 0 / 0.5979 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.825e-06/0.1609, allocations: 0 / 0.5979 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.569e-06/0.1609, allocations: 0 / 0.5979 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.1611, allocations: 19.97 kB / 0.5979 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.144e-05/0.1612, allocations: 0 / 0.5979 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.497e-05/0.1612, allocations: 0 / 0.5979 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.307e-05/0.1612, allocations: 4 kB / 0.5979 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.379e-05/0.1613, allocations: 0 / 0.5979 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.993e-06/0.1613, allocations: 0 / 0.5979 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.418e-05/0.1614, allocations: 19.92 kB / 0.5979 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.514e-06/0.1614, allocations: 7.984 kB / 0.5979 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.504e-05/0.1614, allocations: 25.7 kB / 0.598 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.101e-05/0.1615, allocations: 7.984 kB / 0.598 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.1615, allocations: 4 kB / 0.598 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1615, allocations: 0 / 0.598 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.065e-06/0.1615, allocations: 0 / 0.598 GB, free: 7.25 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002174/0.1617, allocations: 307.4 kB / 0.5983 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1618, allocations: 12.09 kB / 0.5983 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.952e-05/0.1618, allocations: 30.56 kB / 0.5983 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.569e-05/0.1618, allocations: 8 kB / 0.5983 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.426e-05/0.1619, allocations: 167 kB / 0.5985 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.1619, allocations: 0 / 0.5985 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.804e-06/0.1619, allocations: 0 / 0.5985 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.976e-05/0.162, allocations: 33.64 kB / 0.5985 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.51e-06/0.162, allocations: 0 / 0.5985 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-06/0.162, allocations: 3.938 kB / 0.5985 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.162, allocations: 0 / 0.5985 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.63e-05/0.1621, allocations: 3.938 kB / 0.5985 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001162/0.1622, allocations: 157.6 kB / 0.5987 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.265e-05/0.1622, allocations: 18.58 kB / 0.5987 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.338e-05/0.1622, allocations: 8.953 kB / 0.5987 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.1623, allocations: 0 / 0.5987 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.1623, allocations: 30.56 kB / 0.5987 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 6.92e-07/0.1623, allocations: 0 / 0.5987 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001025/0.1624, allocations: 37.64 kB / 0.5988 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.1625, allocations: 55.53 kB / 0.5988 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.014e-05/0.1625, allocations: 89.86 kB / 0.5989 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.1625, allocations: 33.69 kB / 0.5989 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.205e-05/0.1625, allocations: 80.14 kB / 0.599 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.1626, allocations: 3.906 kB / 0.599 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.894e-06/0.1626, allocations: 0 / 0.599 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.633e-05/0.1627, allocations: 318.8 kB / 0.5993 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.007e-06/0.1627, allocations: 4 kB / 0.5993 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.422e-06/0.1627, allocations: 4 kB / 0.5993 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.344e-05/0.1627, allocations: 0 / 0.5993 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1627, allocations: 0 / 0.5993 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.171e-05/0.1628, allocations: 37.64 kB / 0.5994 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.1628, allocations: 4 kB / 0.5994 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1628, allocations: 3.984 kB / 0.5994 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.699e-06/0.1628, allocations: 0 / 0.5994 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.491e-05/0.1629, allocations: 4 kB / 0.5994 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.1629, allocations: 0 / 0.5994 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.136e-05/0.1629, allocations: 0 / 0.5994 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.1629, allocations: 4.094 kB / 0.5994 GB, free: 5.594 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.912e-05/0.163, allocations: 117.8 kB / 0.5995 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.74e-06/0.163, allocations: 0 / 0.5995 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.598e-05/0.1631, allocations: 36.81 kB / 0.5995 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1631, allocations: 7.938 kB / 0.5995 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.1631, allocations: 0 / 0.5995 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-06/0.1631, allocations: 7.969 kB / 0.5995 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.833e-05/0.1632, allocations: 153.6 kB / 0.5997 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1632, allocations: 3.984 kB / 0.5997 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.01e-05/0.1633, allocations: 8 kB / 0.5997 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1633, allocations: 0 / 0.5997 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-06/0.1633, allocations: 0 / 0.5997 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1633, allocations: 0 / 0.5997 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1633, allocations: 0 / 0.5997 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.906e-05/0.1633, allocations: 61.08 kB / 0.5998 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.218e-05/0.1634, allocations: 85.05 kB / 0.5998 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.786e-06/0.1634, allocations: 4 kB / 0.5998 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.182e-05/0.1634, allocations: 3.984 kB / 0.5998 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.665e-06/0.1634, allocations: 0 / 0.5998 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.1634, allocations: 4 kB / 0.5998 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.186e-05/0.1635, allocations: 75.28 kB / 0.5999 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.224e-06/0.1635, allocations: 0 / 0.5999 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001965/0.1637, allocations: 7.938 kB / 0.5999 GB, free: 4.93 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003672/0.1641, allocations: 0.601 MB / 0.6005 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 4.64e-05/0.1641, allocations: 4 kB / 0.6005 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.1641, allocations: 0 / 0.6005 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.018e-05/0.1641, allocations: 7.938 kB / 0.6005 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001091/0.1642, allocations: 4.156 kB / 0.6005 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002325/0.1645, allocations: 108.4 kB / 0.6006 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.1647, allocations: 0.6692 MB / 0.6013 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.382e-05/0.1647, allocations: 3.938 kB / 0.6013 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.1648, allocations: 15.42 kB / 0.6013 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1648, allocations: 4 kB / 0.6013 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.008664/0.1735, allocations: 0.8402 MB / 0.6021 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/0.1736, allocations: 199.1 kB / 0.6023 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.581/1.754, allocations: 0 / 0.6023 GB, free: 2.488 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Polynomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) Environment - environmentSimulation: