Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",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.0008516/0.0008514, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009817/0.0009818, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.502/1.502, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.888/1.888, allocations: 292.7 MB / 0.5499 GB, free: 14.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005145/0.0005145, allocations: 20.75 kB / 0.6738 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2774, allocations: 116.3 MB / 0.7874 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.0006606/0.2781, allocations: 262.1 kB / 0.7876 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004226/0.2786, allocations: 175.6 kB / 0.7878 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.2786, allocations: 8 kB / 0.7878 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.999e-05/0.2786, allocations: 3.938 kB / 0.7878 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.092e-05/0.2787, allocations: 0 / 0.7878 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.279, allocations: 51.86 kB / 0.7879 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.493e-05/0.2791, allocations: 4 kB / 0.7879 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.378e-05/0.2791, allocations: 3.984 kB / 0.7879 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.506e-05/0.2792, allocations: 7.938 kB / 0.7879 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.405e-05/0.2792, allocations: 8 kB / 0.7879 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.2792, allocations: 0 / 0.7879 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/0.2794, allocations: 115.8 kB / 0.788 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.84e-05/0.2795, allocations: 11.98 kB / 0.788 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.987e-05/0.2795, allocations: 33.7 kB / 0.788 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.492e-05/0.2796, allocations: 35.92 kB / 0.7881 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2796, allocations: 0 / 0.7881 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2796, allocations: 3.938 kB / 0.7881 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.2796, allocations: 0 / 0.7881 GB, free: 11.18 MB / 0.6075 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.000306/0.2799, allocations: 335.5 kB / 0.7884 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.28, allocations: 12.03 kB / 0.7884 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.049e-05/0.28, allocations: 30.56 kB / 0.7884 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.294e-05/0.2801, allocations: 4 kB / 0.7884 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.2802, allocations: 174.9 kB / 0.7886 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.2802, allocations: 4 kB / 0.7886 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.2802, allocations: 4 kB / 0.7886 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.2803, allocations: 33.69 kB / 0.7887 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.567e-06/0.2803, allocations: 0 / 0.7887 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.2804, allocations: 0 / 0.7887 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.2804, allocations: 4 kB / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.793e-05/0.2804, allocations: 11.98 kB / 0.7887 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.2806, allocations: 165.7 kB / 0.7888 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.659e-05/0.2807, allocations: 30.52 kB / 0.7889 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.114e-05/0.2807, allocations: 12.91 kB / 0.7889 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.804e-05/0.2807, allocations: 4 kB / 0.7889 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.2808, allocations: 30.56 kB / 0.7889 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.2808, allocations: 3.938 kB / 0.7889 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.000557/0.2813, allocations: 306.3 kB / 0.7892 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.2814, allocations: 51.41 kB / 0.7892 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.557e-05/0.2814, allocations: 105.8 kB / 0.7893 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.2815, allocations: 29.7 kB / 0.7894 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.463e-05/0.2815, allocations: 84.14 kB / 0.7895 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.2816, allocations: 11.75 kB / 0.7895 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.2816, allocations: 0 / 0.7895 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.2817, allocations: 327 kB / 0.7898 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.093e-05/0.2817, allocations: 8 kB / 0.7898 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.367e-05/0.2817, allocations: 33.73 kB / 0.7898 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.969e-05/0.2818, allocations: 15.89 kB / 0.7898 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.2818, allocations: 0 / 0.7898 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.38e-05/0.2819, allocations: 65.67 kB / 0.7899 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.2819, allocations: 8 kB / 0.7899 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2819, allocations: 4.062 kB / 0.7899 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.2819, allocations: 0 / 0.7899 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.424e-05/0.282, allocations: 8 kB / 0.7899 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.282, allocations: 3.938 kB / 0.7899 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.46e-05/0.282, allocations: 0 / 0.7899 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.2821, allocations: 12 kB / 0.7899 GB, free: 9.004 MB / 0.6075 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 7.028e-05/0.2821, allocations: 113.8 kB / 0.79 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.779e-06/0.2821, allocations: 4 kB / 0.79 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/0.2823, allocations: 77.42 kB / 0.7901 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2823, allocations: 0 / 0.7901 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2823, allocations: 0 / 0.7901 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2823, allocations: 0 / 0.7901 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.2825, allocations: 169.7 kB / 0.7903 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.2825, allocations: 3.953 kB / 0.7903 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.162e-05/0.2825, allocations: 11.92 kB / 0.7903 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.2825, allocations: 0 / 0.7903 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-06/0.2826, allocations: 0 / 0.7903 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2826, allocations: 320 / 0.7903 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2826, allocations: 0 / 0.7903 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/0.2827, allocations: 109 kB / 0.7904 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-05/0.2828, allocations: 81.06 kB / 0.7905 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.2828, allocations: 0 / 0.7905 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.696e-05/0.2829, allocations: 8.016 kB / 0.7905 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.329e-05/0.2829, allocations: 0 / 0.7905 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.2829, allocations: 0 / 0.7905 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.562e-05/0.2829, allocations: 95.25 kB / 0.7906 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2829, allocations: 4.062 kB / 0.7906 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002096/0.2832, allocations: 20 kB / 0.7906 GB, free: 8.211 MB / 0.6075 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.0004747/0.2836, allocations: 0.6592 MB / 0.7912 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.295e-05/0.2837, allocations: 27.98 kB / 0.7913 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2837, allocations: 0 / 0.7913 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.236e-05/0.2838, allocations: 24.11 kB / 0.7913 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.2839, allocations: 4 kB / 0.7913 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000599/0.2845, allocations: 471.3 kB / 0.7917 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/0.2848, allocations: 0.6848 MB / 0.7924 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.354e-05/0.2848, allocations: 3.938 kB / 0.7924 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.886e-05/0.2848, allocations: 15.44 kB / 0.7924 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2848, allocations: 0 / 0.7924 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01228/0.2971, allocations: 1.671 MB / 0.7941 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/0.2973, allocations: 199 kB / 0.7943 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.782/2.08, allocations: 3.938 kB / 0.7943 GB, free: 4.496 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: