Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.591/1.591, allocations: 287.4 MB / 302.5 MB, free: 8.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 174.8 kB / 371.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 205.4 MB / 0.6298 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007355/0.0007355, allocations: 97.2 kB / 0.7431 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.000325, allocations: 10.28 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.151, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.0004994/0.1515, allocations: 258.1 kB / 0.979 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003516/0.1519, allocations: 175.6 kB / 0.9791 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.584e-05/0.1519, allocations: 0 / 0.9791 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.829e-05/0.1519, allocations: 0 / 0.9791 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.326e-05/0.152, allocations: 7.984 kB / 0.9792 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.1523, allocations: 43.88 kB / 0.9792 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.004e-05/0.1523, allocations: 11.98 kB / 0.9792 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.309e-05/0.1524, allocations: 0 / 0.9792 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.733e-05/0.1524, allocations: 15.92 kB / 0.9792 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.607e-05/0.1524, allocations: 7.938 kB / 0.9792 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.1525, allocations: 0 / 0.9792 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.1526, allocations: 119.8 kB / 0.9793 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.596e-05/0.1527, allocations: 4 kB / 0.9793 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.6e-05/0.1527, allocations: 25.7 kB / 0.9794 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.668e-05/0.1528, allocations: 51.86 kB / 0.9794 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1528, allocations: 0 / 0.9794 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1528, allocations: 0 / 0.9794 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.1528, allocations: 0 / 0.9794 GB, free: 27.37 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002162/0.153, allocations: 339.7 kB / 0.9797 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.1531, allocations: 12.03 kB / 0.9798 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.41e-05/0.1531, allocations: 30.75 kB / 0.9798 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.224e-05/0.1531, allocations: 0.9375 kB / 0.9798 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.251e-05/0.1532, allocations: 172.3 kB / 0.9799 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.1532, allocations: 384 / 0.9799 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.1532, allocations: 4.312 kB / 0.98 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.944e-05/0.1533, allocations: 38.27 kB / 0.98 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.1533, allocations: 3.938 kB / 0.98 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-06/0.1533, allocations: 4 kB / 0.98 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1533, allocations: 4 kB / 0.98 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.186e-05/0.1534, allocations: 11.98 kB / 0.98 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001061/0.1535, allocations: 157.7 kB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.736e-05/0.1535, allocations: 26.58 kB / 0.9802 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.498e-05/0.1535, allocations: 16.84 kB / 0.9802 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.1536, allocations: 4 kB / 0.9802 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.47e-05/0.1536, allocations: 34.56 kB / 0.9802 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1536, allocations: 0 / 0.9802 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0004107/0.154, allocations: 302.2 kB / 0.9805 GB, free: 26 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.689e-05/0.1541, allocations: 51.41 kB / 0.9806 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.291e-05/0.1541, allocations: 105.8 kB / 0.9807 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.1541, allocations: 25.7 kB / 0.9807 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.177e-05/0.1542, allocations: 92.36 kB / 0.9808 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.1542, allocations: 15.73 kB / 0.9808 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-06/0.1542, allocations: 0 / 0.9808 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.949e-05/0.1542, allocations: 318.8 kB / 0.9811 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.809e-05/0.1543, allocations: 11.94 kB / 0.9811 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.436e-05/0.1543, allocations: 25.7 kB / 0.9811 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.123e-05/0.1543, allocations: 45.64 kB / 0.9812 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1543, allocations: 0 / 0.9812 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.419e-05/0.1544, allocations: 69.62 kB / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.1544, allocations: 7.938 kB / 0.9813 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1545, allocations: 0 / 0.9813 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1545, allocations: 7.938 kB / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.157e-05/0.1545, allocations: 7.984 kB / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1545, allocations: 0 / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.512e-05/0.1546, allocations: 4 kB / 0.9813 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.1546, allocations: 0 / 0.9813 GB, free: 25.17 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 4.287e-05/0.1546, allocations: 117.9 kB / 0.9814 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.729e-06/0.1546, allocations: 7.844 kB / 0.9814 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.1547, allocations: 77.66 kB / 0.9815 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1547, allocations: 48 / 0.9815 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1548, allocations: 3.984 kB / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1548, allocations: 4 kB / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.254e-05/0.1548, allocations: 165.7 kB / 0.9816 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1548, allocations: 0 / 0.9816 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.336e-05/0.1549, allocations: 8 kB / 0.9817 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1549, allocations: 3.938 kB / 0.9817 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-06/0.1549, allocations: 4 kB / 0.9817 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1549, allocations: 0 / 0.9817 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1549, allocations: 0 / 0.9817 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000103/0.155, allocations: 101.1 kB / 0.9818 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.474e-05/0.155, allocations: 88.98 kB / 0.9818 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.1551, allocations: 0 / 0.9818 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.174e-05/0.1551, allocations: 4.062 kB / 0.9818 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.045e-05/0.1551, allocations: 7.938 kB / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.1551, allocations: 4 kB / 0.9819 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.414e-05/0.1552, allocations: 87.27 kB / 0.9819 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1552, allocations: 0 / 0.9819 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001873/0.1554, allocations: 20 kB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0002716/0.1556, allocations: 0.6631 MB / 0.9826 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.297e-05/0.1557, allocations: 35.92 kB / 0.9826 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1557, allocations: 0 / 0.9826 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-05/0.1558, allocations: 15.98 kB / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.1559, allocations: 0 / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004408/0.1563, allocations: 477.7 kB / 0.9831 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.621e-05/0.1564, allocations: 0.6809 MB / 0.9838 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.586e-05/0.1564, allocations: 8.688 kB / 0.9838 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.262e-05/0.1565, allocations: 11.44 kB / 0.9838 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of SimCode: time 3e-07/0.1565, allocations: 3.938 kB / 0.9838 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1972/0.3537, allocations: 1.653 MB / 0.9854 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/0.3539, allocations: 205 kB / 0.9856 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.58/1.934, allocations: 0 / 0.9856 GB, free: 20.67 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_8.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1)