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.51/1.51, allocations: 249.3 MB / 261.8 MB, free: 5.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 182.6 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.0009121/0.000912, allocations: 80.8 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.351e-05/3.379e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2405, allocations: 106.3 MB / 0.8919 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6935/0.9341, allocations: 131.1 MB / 1.02 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.9344, allocations: 69.2 kB / 1.02 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004283/0.9387, allocations: 1.356 MB / 1.021 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.173e-06/0.9387, allocations: 3.938 kB / 1.021 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.9387, allocations: 0 / 1.021 GB, free: 2.02 MB / 0.6355 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.0002493/0.939, allocations: 338.1 kB / 1.022 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.939, allocations: 16.03 kB / 1.022 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.164e-05/0.9391, allocations: 30.56 kB / 1.022 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.156e-05/0.9391, allocations: 0 / 1.022 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.9392, allocations: 170.9 kB / 1.022 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.687e-06/0.9392, allocations: 0 / 1.022 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.9392, allocations: 0 / 1.022 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.9394, allocations: 45.06 kB / 1.022 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.9394, allocations: 0 / 1.022 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.9394, allocations: 0 / 1.022 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.9394, allocations: 4 kB / 1.022 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.186e-05/0.9394, allocations: 15.98 kB / 1.022 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001495/0.9396, allocations: 157.3 kB / 1.022 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.163e-05/0.9396, allocations: 29.94 kB / 1.022 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.451e-05/0.9397, allocations: 8.922 kB / 1.022 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/0.9397, allocations: 7.938 kB / 1.022 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.9397, allocations: 30.56 kB / 1.022 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.9398, allocations: 4 kB / 1.022 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0005266/0.9403, allocations: 295.7 kB / 1.022 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.9403, allocations: 51.41 kB / 1.022 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.524e-05/0.9404, allocations: 107.2 kB / 1.023 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.9404, allocations: 25.7 kB / 1.023 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.724e-05/0.9405, allocations: 86.89 kB / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.9405, allocations: 11.41 kB / 1.023 GB, free: 408 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.9405, allocations: 4 kB / 1.023 GB, free: 404 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.9406, allocations: 322.8 kB / 1.023 GB, free: 72 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.807e-05/0.9407, allocations: 15.23 kB / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.55e-05/0.9407, allocations: 21.7 kB / 1.023 GB, free: 32 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.252e-05/0.9408, allocations: 22.8 kB / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.9408, allocations: 3.938 kB / 1.023 GB, free: 8 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001209/0.9409, allocations: 76.7 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.9409, allocations: 4 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.9409, allocations: 4 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.998e-06/0.9409, allocations: 1.016 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.515e-05/0.941, allocations: 4 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.941, allocations: 4 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.526e-05/0.941, allocations: 0 / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.9411, allocations: 11.97 kB / 1.023 GB, free: 15.9 MB / 0.6511 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 () * 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 5.623e-05/0.9411, allocations: 113.9 kB / 1.023 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.088e-05/0.9411, allocations: 8 kB / 1.023 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/0.9413, allocations: 81.31 kB / 1.023 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.9413, allocations: 0 / 1.023 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.9413, allocations: 0 / 1.023 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.9413, allocations: 0 / 1.023 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.768e-05/0.9414, allocations: 164.4 kB / 1.023 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.9414, allocations: 0 / 1.023 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.957e-05/0.9415, allocations: 4 kB / 1.023 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.9415, allocations: 0 / 1.023 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.9415, allocations: 8 kB / 1.023 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.9415, allocations: 0 / 1.023 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.9415, allocations: 0 / 1.023 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.9417, allocations: 113.9 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 2.917e-05/0.9417, allocations: 81.06 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.9417, allocations: 4.031 kB / 1.024 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.499e-05/0.9418, allocations: 2.125 kB / 1.024 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.405e-05/0.9418, allocations: 3.984 kB / 1.024 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.9418, allocations: 8.062 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.728e-05/0.9419, allocations: 86.72 kB / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9419, allocations: 0 / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000207/0.9421, allocations: 20 kB / 1.024 GB, free: 15.15 MB / 0.6511 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 () * 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.0004748/0.9426, allocations: 0.6768 MB / 1.024 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.412e-05/0.9427, allocations: 35.48 kB / 1.024 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.9427, allocations: 0 / 1.024 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.208e-05/0.9427, allocations: 15.94 kB / 1.024 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.455e-05/0.9428, allocations: 0 / 1.024 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003096/0.9431, allocations: 135.6 kB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.9433, allocations: 0.6809 MB / 1.025 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.761e-05/0.9434, allocations: 8.219 kB / 1.025 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.856e-05/0.9434, allocations: 19.3 kB / 1.025 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/0.9434, allocations: 7.938 kB / 1.025 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.012/0.9554, allocations: 1.643 MB / 1.027 GB, free: 12 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001554/0.9556, allocations: 183.4 kB / 1.027 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.491/2.446, allocations: 0 / 1.027 GB, free: 11.77 MB / 0.6511 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)