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 2.585/2.585, allocations: 287.5 MB / 302.4 MB, free: 8.254 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.001329/0.001329, allocations: 188.5 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.195/2.195, allocations: 205.4 MB / 0.6297 GB, free: 10.63 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.000875/0.0008749, allocations: 88.73 kB / 0.743 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006791/0.0006793, allocations: 15.23 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2858, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.0008826/0.2868, allocations: 254.1 kB / 0.9787 GB, free: 28.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006321/0.2874, allocations: 183.6 kB / 0.9789 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.192e-05/0.2875, allocations: 0 / 0.9789 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.369e-05/0.2875, allocations: 0 / 0.9789 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.806e-05/0.2876, allocations: 7.938 kB / 0.9789 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004073/0.288, allocations: 39.94 kB / 0.9789 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.809e-05/0.2881, allocations: 15.92 kB / 0.9789 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.947e-05/0.2881, allocations: 4 kB / 0.9789 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.623e-05/0.2882, allocations: 7.984 kB / 0.9789 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.817e-05/0.2882, allocations: 3.984 kB / 0.9789 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.2882, allocations: 4 kB / 0.9789 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003329/0.2886, allocations: 111.8 kB / 0.979 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.474e-05/0.2886, allocations: 7.984 kB / 0.9791 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.444e-05/0.2887, allocations: 25.7 kB / 0.9791 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.2888, allocations: 47.88 kB / 0.9791 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.2889, allocations: 0 / 0.9791 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.445e-06/0.2889, allocations: 3.938 kB / 0.9791 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.2889, allocations: 4 kB / 0.9791 GB, free: 27.57 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.0003339/0.2892, allocations: 341.5 kB / 0.9795 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.2893, allocations: 16.02 kB / 0.9795 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.444e-05/0.2894, allocations: 30.56 kB / 0.9795 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.551e-05/0.2894, allocations: 4 kB / 0.9795 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.2895, allocations: 178.9 kB / 0.9797 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.2896, allocations: 0 / 0.9797 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.2896, allocations: 0 / 0.9797 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.2897, allocations: 41.69 kB / 0.9797 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.2898, allocations: 4 kB / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.2898, allocations: 0 / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.2898, allocations: 0 / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.058e-05/0.2899, allocations: 8 kB / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002019/0.2901, allocations: 169.6 kB / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.938e-05/0.2902, allocations: 22.56 kB / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.328e-05/0.2902, allocations: 16.92 kB / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.108e-05/0.2903, allocations: 8 kB / 0.9799 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.2903, allocations: 30.56 kB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.814e-06/0.2903, allocations: 0 / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0007176/0.2911, allocations: 294.3 kB / 0.9802 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.2911, allocations: 59.41 kB / 0.9803 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.298e-05/0.2912, allocations: 109.8 kB / 0.9804 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.2912, allocations: 29.92 kB / 0.9804 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.712e-05/0.2913, allocations: 88.12 kB / 0.9805 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.2913, allocations: 15.75 kB / 0.9805 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.2914, allocations: 0 / 0.9805 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.927e-05/0.2914, allocations: 318.8 kB / 0.9808 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.246e-05/0.2915, allocations: 23.86 kB / 0.9809 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.101e-05/0.2916, allocations: 21.72 kB / 0.9809 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.44e-05/0.2916, allocations: 19.98 kB / 0.9809 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2917, allocations: 0 / 0.9809 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001743/0.2918, allocations: 65.62 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.2919, allocations: 8 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2919, allocations: 0 / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.2919, allocations: 0 / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.557e-05/0.292, allocations: 8 kB / 0.981 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.2921, allocations: 3.984 kB / 0.981 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.005e-05/0.2921, allocations: 0 / 0.981 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-06/0.2921, allocations: 64 / 0.981 GB, free: 25.39 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 8.442e-05/0.2922, allocations: 121.8 kB / 0.9811 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.041e-05/0.2922, allocations: 4 kB / 0.9811 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001986/0.2925, allocations: 77.36 kB / 0.9812 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2925, allocations: 0 / 0.9812 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2925, allocations: 0 / 0.9812 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2925, allocations: 0 / 0.9812 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.2927, allocations: 169.6 kB / 0.9813 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2927, allocations: 0 / 0.9813 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.54e-05/0.2928, allocations: 12 kB / 0.9813 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.2928, allocations: 0 / 0.9813 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.2928, allocations: 0 / 0.9813 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.2928, allocations: 0 / 0.9813 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2928, allocations: 0 / 0.9813 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/0.2931, allocations: 105.1 kB / 0.9814 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.264e-05/0.2931, allocations: 81.06 kB / 0.9815 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.2932, allocations: 4 kB / 0.9815 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.861e-05/0.2932, allocations: 12.09 kB / 0.9815 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.97e-05/0.2933, allocations: 3.938 kB / 0.9815 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.2933, allocations: 0 / 0.9815 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.202e-05/0.2934, allocations: 87.27 kB / 0.9816 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.01e-07/0.2934, allocations: 0 / 0.9816 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000464/0.2939, allocations: 24 kB / 0.9816 GB, free: 24.61 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.0005757/0.2944, allocations: 0.667 MB / 0.9823 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001671/0.2946, allocations: 31.92 kB / 0.9823 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.2947, allocations: 0 / 0.9823 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.001e-05/0.2947, allocations: 12.28 kB / 0.9823 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.295, allocations: 7.938 kB / 0.9823 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009501/0.296, allocations: 471.5 kB / 0.9828 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.2962, allocations: 0.6809 MB / 0.9835 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.991e-05/0.2962, allocations: 12.06 kB / 0.9835 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.557e-05/0.2963, allocations: 11.44 kB / 0.9835 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of SimCode: time 1.202e-06/0.2963, allocations: 7.938 kB / 0.9835 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/0.3201, allocations: 1.666 MB / 0.9851 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002448/0.3204, allocations: 211.4 kB / 0.9853 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.457/2.777, allocations: 0 / 0.9853 GB, free: 20.87 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)