Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.452/1.452, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001209/0.001209, allocations: 178.6 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.883/1.883, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008816/0.0008816, allocations: 93.78 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.0003609, allocations: 13.38 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2486, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1741/0.4227, allocations: 131.1 MB / 1.028 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.423, allocations: 67.97 kB / 1.028 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004148/0.4271, allocations: 1.366 MB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4272, allocations: 0 / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.4272, allocations: 0 / 1.03 GB, free: 11.11 MB / 0.6823 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.0003377/0.4275, allocations: 347.2 kB / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.4276, allocations: 16.02 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.325e-05/0.4276, allocations: 30.56 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.051e-05/0.4277, allocations: 3.906 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.4278, allocations: 167 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.4278, allocations: 0 / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.4279, allocations: 7.938 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.428, allocations: 41.69 kB / 1.03 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.428, allocations: 0 / 1.03 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.428, allocations: 0 / 1.03 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.428, allocations: 0 / 1.03 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.176e-05/0.4281, allocations: 11.98 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001793/0.4282, allocations: 165.7 kB / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.293e-05/0.4283, allocations: 30.55 kB / 1.03 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.029e-05/0.4284, allocations: 8 kB / 1.03 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.569e-05/0.4284, allocations: 30.56 kB / 1.03 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.4284, allocations: 4 kB / 1.03 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0006071/0.429, allocations: 306.2 kB / 1.031 GB, free: 9.738 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.4291, allocations: 51.62 kB / 1.031 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.997e-05/0.4292, allocations: 105 kB / 1.031 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.4292, allocations: 25.7 kB / 1.031 GB, free: 9.535 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.613e-05/0.4293, allocations: 100 kB / 1.031 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.4293, allocations: 7.812 kB / 1.031 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.4293, allocations: 0 / 1.031 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.4294, allocations: 322.8 kB / 1.031 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.912e-05/0.4295, allocations: 12.66 kB / 1.031 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.654e-05/0.4295, allocations: 25.7 kB / 1.031 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.282e-05/0.4295, allocations: 19.98 kB / 1.031 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.4296, allocations: 0 / 1.031 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000106/0.4297, allocations: 69.61 kB / 1.031 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.4297, allocations: 4 kB / 1.031 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.4297, allocations: 3.984 kB / 1.031 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.4297, allocations: 4 kB / 1.031 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.485e-05/0.4298, allocations: 4 kB / 1.031 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.4298, allocations: 0 / 1.031 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.89e-05/0.4298, allocations: 8.062 kB / 1.031 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.4298, allocations: 4 kB / 1.031 GB, free: 8.938 MB / 0.6823 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.722e-05/0.4299, allocations: 117.7 kB / 1.032 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.498e-05/0.43, allocations: 11.89 kB / 1.032 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001666/0.4301, allocations: 77.56 kB / 1.032 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.4301, allocations: 0 / 1.032 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.4302, allocations: 0 / 1.032 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.4302, allocations: 0 / 1.032 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.4303, allocations: 165.6 kB / 1.032 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4303, allocations: 0 / 1.032 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.308e-05/0.4304, allocations: 7.984 kB / 1.032 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4304, allocations: 0 / 1.032 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.4304, allocations: 4 kB / 1.032 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.4304, allocations: 0 / 1.032 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.4304, allocations: 0 / 1.032 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.4306, allocations: 109 kB / 1.032 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.805e-05/0.4306, allocations: 85.03 kB / 1.032 GB, free: 8.266 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.4307, allocations: 8.031 kB / 1.032 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.716e-05/0.4307, allocations: 4 kB / 1.032 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.614e-05/0.4307, allocations: 3.984 kB / 1.032 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.4307, allocations: 4 kB / 1.032 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.393e-05/0.4308, allocations: 83.28 kB / 1.032 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4308, allocations: 3.938 kB / 1.032 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000229/0.431, allocations: 31.92 kB / 1.032 GB, free: 8.129 MB / 0.6823 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.0005063/0.4316, allocations: 0.6655 MB / 1.033 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.258e-05/0.4317, allocations: 35.97 kB / 1.033 GB, free: 7.402 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4317, allocations: 3.938 kB / 1.033 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.235e-05/0.4317, allocations: 19.92 kB / 1.033 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001051/0.4318, allocations: 0 / 1.033 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007423/0.4326, allocations: 0.623 MB / 1.033 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.4328, allocations: 0.6809 MB / 1.034 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.996e-05/0.4329, allocations: 8 kB / 1.034 GB, free: 5.988 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.093e-05/0.4329, allocations: 19.42 kB / 1.034 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of SimCode: time 2.5e-07/0.4329, allocations: 0 / 1.034 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01214/0.4451, allocations: 1.644 MB / 1.036 GB, free: 4.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/0.4453, allocations: 214.1 kB / 1.036 GB, free: 4.258 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.744/2.19, allocations: 0 / 1.036 GB, free: 4.258 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1)