Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.726/1.726, allocations: 288.4 MB / 303.3 MB, free: 8.113 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.001112/0.001112, allocations: 191.1 kB / 372 MB, free: 10.24 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.818/1.818, allocations: 205.4 MB / 0.6307 GB, free: 9.941 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.001347/0.001347, allocations: 90.36 kB / 0.744 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004104/0.0004106, allocations: 10.75 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2499, allocations: 115.3 MB / 0.9796 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.0007367/0.2507, allocations: 254.4 kB / 0.9799 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005201/0.2513, allocations: 175.6 kB / 0.98 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.212e-05/0.2513, allocations: 0 / 0.98 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.243e-05/0.2514, allocations: 4 kB / 0.9801 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.642e-05/0.2514, allocations: 3.938 kB / 0.9801 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004224/0.2518, allocations: 47.92 kB / 0.9801 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.115e-05/0.2519, allocations: 8 kB / 0.9801 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.233e-05/0.252, allocations: 7.922 kB / 0.9801 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.182e-05/0.252, allocations: 11.88 kB / 0.9801 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.614e-05/0.2521, allocations: 7.984 kB / 0.9801 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.2521, allocations: 0 / 0.9801 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002197/0.2523, allocations: 115.8 kB / 0.9802 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.432e-05/0.2523, allocations: 4 kB / 0.9802 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.2524, allocations: 25.7 kB / 0.9803 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.2525, allocations: 47.92 kB / 0.9803 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.2525, allocations: 7.984 kB / 0.9803 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.435e-06/0.2525, allocations: 0 / 0.9803 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.88e-06/0.2525, allocations: 0 / 0.9803 GB, free: 26.85 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.0003651/0.2529, allocations: 331.6 kB / 0.9806 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.253, allocations: 16.02 kB / 0.9807 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.828e-05/0.253, allocations: 34.5 kB / 0.9807 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.139e-05/0.2531, allocations: 0 / 0.9807 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.2532, allocations: 170.9 kB / 0.9809 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.2532, allocations: 0 / 0.9809 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.2532, allocations: 0 / 0.9809 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.2534, allocations: 45.69 kB / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2534, allocations: 0 / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.2534, allocations: 3.984 kB / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-06/0.2534, allocations: 4 kB / 0.9809 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.625e-05/0.2534, allocations: 8 kB / 0.9809 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.2536, allocations: 165.6 kB / 0.9811 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.515e-05/0.2537, allocations: 30.52 kB / 0.9811 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.26e-05/0.2537, allocations: 12.92 kB / 0.9811 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.123e-05/0.2538, allocations: 7.984 kB / 0.9811 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.2538, allocations: 30.56 kB / 0.9811 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.2538, allocations: 0 / 0.9811 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005739/0.2544, allocations: 294.3 kB / 0.9814 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.2544, allocations: 55.61 kB / 0.9815 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.161e-05/0.2545, allocations: 117.8 kB / 0.9816 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.2545, allocations: 25.7 kB / 0.9816 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.143e-05/0.2546, allocations: 88.14 kB / 0.9817 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.2546, allocations: 11.75 kB / 0.9817 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/0.2546, allocations: 0 / 0.9817 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.118e-05/0.2547, allocations: 318.8 kB / 0.982 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.246e-05/0.2547, allocations: 15.92 kB / 0.982 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.844e-05/0.2548, allocations: 25.7 kB / 0.9821 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.837e-05/0.2548, allocations: 19.95 kB / 0.9821 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.2548, allocations: 0 / 0.9821 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.421e-05/0.2549, allocations: 61.69 kB / 0.9821 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.2549, allocations: 11.94 kB / 0.9821 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.2549, allocations: 3.938 kB / 0.9822 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.255, allocations: 0 / 0.9822 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.66e-05/0.255, allocations: 11.98 kB / 0.9822 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.2551, allocations: 0 / 0.9822 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.663e-05/0.2551, allocations: 4.062 kB / 0.9822 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.2551, allocations: 0 / 0.9822 GB, free: 24.68 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 6.951e-05/0.2552, allocations: 117.8 kB / 0.9823 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.2552, allocations: 4 kB / 0.9823 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001356/0.2553, allocations: 73.42 kB / 0.9824 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2553, allocations: 0 / 0.9824 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.2553, allocations: 4 kB / 0.9824 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.2554, allocations: 0 / 0.9824 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.2555, allocations: 169.7 kB / 0.9825 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2555, allocations: 7.953 kB / 0.9825 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.6e-05/0.2555, allocations: 4 kB / 0.9825 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.2556, allocations: 0 / 0.9825 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.2556, allocations: 0 / 0.9825 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.2556, allocations: 0 / 0.9825 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2556, allocations: 0 / 0.9825 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.2557, allocations: 109.1 kB / 0.9826 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.567e-05/0.2558, allocations: 81.12 kB / 0.9827 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.2558, allocations: 4.234 kB / 0.9827 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.598e-05/0.2559, allocations: 4.031 kB / 0.9827 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-05/0.2559, allocations: 0 / 0.9827 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.2559, allocations: 15.84 kB / 0.9827 GB, free: 24 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.506e-05/0.2559, allocations: 87.28 kB / 0.9828 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2559, allocations: 0 / 0.9828 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002238/0.2562, allocations: 20 kB / 0.9828 GB, free: 23.89 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.0004297/0.2566, allocations: 0.6631 MB / 0.9835 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.2567, allocations: 35.92 kB / 0.9835 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2567, allocations: 0 / 0.9835 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.989e-05/0.2568, allocations: 15.98 kB / 0.9835 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.2569, allocations: 4 kB / 0.9835 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00062/0.2576, allocations: 471.4 kB / 0.984 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.2577, allocations: 0.6848 MB / 0.9847 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.993e-05/0.2578, allocations: 0 / 0.9847 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.473e-05/0.2578, allocations: 15.44 kB / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of SimCode: time 4.31e-07/0.2578, allocations: 0 / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01468/0.2725, allocations: 1.675 MB / 0.9863 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002355/0.2728, allocations: 216.8 kB / 0.9865 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.781/2.053, allocations: 4 kB / 0.9865 GB, free: 20.18 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1)