Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_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.00109/0.00109, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002162/0.002162, allocations: 282.5 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9342/0.9342, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 102.7 kB / 0.5954 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1536, allocations: 86.98 MB / 0.6803 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.002333/0.156, allocations: 0.5682 MB / 0.6809 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002616/0.1563, allocations: 31.78 kB / 0.6809 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.412e-05/0.1563, allocations: 3.406 kB / 0.6809 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.296e-05/0.1563, allocations: 7.875 kB / 0.6809 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.619e-06/0.1564, allocations: 0 / 0.6809 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.1566, allocations: 15.98 kB / 0.6809 GB, free: 15.94 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.776e-05/0.1567, allocations: 0 / 0.6809 GB, free: 15.94 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.577e-05/0.1567, allocations: 8 kB / 0.6809 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.479e-05/0.1567, allocations: 0 / 0.6809 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.635e-05/0.1568, allocations: 3.938 kB / 0.6809 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.1568, allocations: 0 / 0.6809 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.583e-05/0.1569, allocations: 20.7 kB / 0.6809 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.095e-06/0.1569, allocations: 0 / 0.6809 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.21e-05/0.1569, allocations: 8.844 kB / 0.681 GB, free: 15.9 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.748e-05/0.1571, allocations: 19.92 kB / 0.681 GB, free: 15.88 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1571, allocations: 0 / 0.681 GB, free: 15.88 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1571, allocations: 0.5625 kB / 0.681 GB, free: 15.88 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1571, allocations: 1.5 kB / 0.681 GB, free: 15.88 MB / 494.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.0003084/0.1574, allocations: 307.6 kB / 0.6813 GB, free: 15.53 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.1575, allocations: 16.02 kB / 0.6813 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.075e-05/0.1575, allocations: 34.75 kB / 0.6813 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.398e-05/0.1575, allocations: 0.9375 kB / 0.6813 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.957e-05/0.1576, allocations: 164.4 kB / 0.6815 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.193e-06/0.1576, allocations: 4.312 kB / 0.6815 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.1577, allocations: 384 / 0.6815 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.206e-05/0.1577, allocations: 30.27 kB / 0.6815 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.1578, allocations: 3.938 kB / 0.6815 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-06/0.1578, allocations: 0 / 0.6815 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.1578, allocations: 0 / 0.6815 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.362e-05/0.1578, allocations: 7.922 kB / 0.6815 GB, free: 15.22 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/0.158, allocations: 149.7 kB / 0.6817 GB, free: 15.03 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.542e-05/0.158, allocations: 18.58 kB / 0.6817 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.742e-05/0.158, allocations: 8.953 kB / 0.6817 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.1581, allocations: 0 / 0.6817 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.1581, allocations: 30.56 kB / 0.6817 GB, free: 14.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.1581, allocations: 0 / 0.6817 GB, free: 14.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001259/0.1582, allocations: 49.56 kB / 0.6818 GB, free: 14.89 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.1583, allocations: 51.41 kB / 0.6818 GB, free: 14.83 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.745e-05/0.1583, allocations: 89.86 kB / 0.6819 GB, free: 14.73 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.1583, allocations: 25.7 kB / 0.6819 GB, free: 14.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.22e-05/0.1584, allocations: 80.14 kB / 0.682 GB, free: 14.62 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.1584, allocations: 4.281 kB / 0.682 GB, free: 14.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.817e-05/0.1584, allocations: 13.72 kB / 0.682 GB, free: 14.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1586, allocations: 310.8 kB / 0.6823 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.085e-05/0.1586, allocations: 4.125 kB / 0.6823 GB, free: 14.28 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.173e-06/0.1586, allocations: 0 / 0.6823 GB, free: 14.28 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.84e-05/0.1586, allocations: 12.84 kB / 0.6823 GB, free: 14.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1586, allocations: 0 / 0.6823 GB, free: 14.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.443e-05/0.1587, allocations: 41.64 kB / 0.6824 GB, free: 14.22 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1587, allocations: 4 kB / 0.6824 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1587, allocations: 3.938 kB / 0.6824 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1587, allocations: 3.938 kB / 0.6824 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.665e-05/0.1588, allocations: 8.094 kB / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1588, allocations: 0 / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.406e-05/0.1588, allocations: 3.938 kB / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.1589, allocations: 0 / 0.6824 GB, free: 14.2 MB / 494.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 7.618e-05/0.1589, allocations: 115.1 kB / 0.6825 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.137e-06/0.159, allocations: 0 / 0.6825 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.1591, allocations: 48.7 kB / 0.6825 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.1591, allocations: 7.922 kB / 0.6826 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.1591, allocations: 4 kB / 0.6826 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1591, allocations: 0 / 0.6826 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.724e-05/0.1592, allocations: 145.6 kB / 0.6827 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1592, allocations: 4 kB / 0.6827 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.882e-05/0.1592, allocations: 0 / 0.6827 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1593, allocations: 4 kB / 0.6827 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.1593, allocations: 3.938 kB / 0.6827 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1593, allocations: 0 / 0.6827 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1593, allocations: 0 / 0.6827 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.254e-05/0.1594, allocations: 65.16 kB / 0.6828 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/0.1594, allocations: 77.11 kB / 0.6828 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.1594, allocations: 3.938 kB / 0.6828 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.147e-05/0.1594, allocations: 0 / 0.6828 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.1595, allocations: 7.922 kB / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.1595, allocations: 4 kB / 0.6829 GB, free: 13.61 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.1e-05/0.1595, allocations: 75.28 kB / 0.6829 GB, free: 13.54 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1595, allocations: 4.031 kB / 0.6829 GB, free: 13.54 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002129/0.1597, allocations: 8 kB / 0.6829 GB, free: 13.53 MB / 494.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.0003956/0.1601, allocations: 0.5968 MB / 0.6835 GB, free: 12.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.509e-05/0.1602, allocations: 4 kB / 0.6835 GB, free: 12.89 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.1603, allocations: 4.094 kB / 0.6835 GB, free: 12.89 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.135e-05/0.1603, allocations: 7.938 kB / 0.6835 GB, free: 12.88 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.1604, allocations: 3.984 kB / 0.6835 GB, free: 12.88 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003053/0.1607, allocations: 110.7 kB / 0.6837 GB, free: 12.73 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.161, allocations: 0.669 MB / 0.6843 GB, free: 12.04 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.9e-05/0.161, allocations: 8.047 kB / 0.6843 GB, free: 12.03 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.543e-05/0.161, allocations: 11.44 kB / 0.6843 GB, free: 12.02 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.161, allocations: 0 / 0.6843 GB, free: 12.02 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01644/0.1775, allocations: 0.9948 MB / 0.6853 GB, free: 11.11 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.815/7.993, allocations: 8.594 kB / 0.6853 GB, free: 11.11 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)