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.784/2.784, allocations: 287.3 MB / 302.3 MB, free: 8.316 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.001558/0.001558, allocations: 180.1 kB / 370.8 MB, free: 10.84 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.042/2.042, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001155/0.001154, allocations: 95.88 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005746/0.0005749, allocations: 11.27 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2197, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9034/1.123, allocations: 137.3 MB / 1.112 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/1.123, allocations: 68.05 kB / 1.112 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006941/1.13, allocations: 1.358 MB / 1.114 GB, free: 31.45 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.256e-06/1.131, allocations: 0 / 1.114 GB, free: 31.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.106e-06/1.131, allocations: 0 / 1.114 GB, free: 31.45 MB / 0.698 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.0004024/1.131, allocations: 347.9 kB / 1.114 GB, free: 31.08 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/1.131, allocations: 19.52 kB / 1.114 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.954e-05/1.131, allocations: 34.5 kB / 1.114 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.921e-05/1.131, allocations: 0 / 1.114 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/1.131, allocations: 171.8 kB / 1.114 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/1.131, allocations: 0 / 1.114 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/1.131, allocations: 1.922 kB / 1.114 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/1.131, allocations: 40.45 kB / 1.114 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/1.131, allocations: 0 / 1.114 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/1.131, allocations: 4.812 kB / 1.114 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/1.131, allocations: 7.875 kB / 1.114 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.732e-05/1.132, allocations: 10.86 kB / 1.114 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/1.132, allocations: 161 kB / 1.114 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.695e-05/1.132, allocations: 32.73 kB / 1.115 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.754e-05/1.132, allocations: 5.234 kB / 1.115 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/1.132, allocations: 30.56 kB / 1.115 GB, free: 30.53 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 3.757e-06/1.132, allocations: 0 / 1.115 GB, free: 30.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0007144/1.133, allocations: 311.6 kB / 1.115 GB, free: 30.27 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/1.133, allocations: 56.33 kB / 1.115 GB, free: 30.21 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.936e-05/1.133, allocations: 100.6 kB / 1.115 GB, free: 30.12 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/1.133, allocations: 25.7 kB / 1.115 GB, free: 30.09 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.022e-05/1.133, allocations: 81.55 kB / 1.115 GB, free: 30 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/1.133, allocations: 15.56 kB / 1.115 GB, free: 30 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-06/1.133, allocations: 4.219 kB / 1.115 GB, free: 29.99 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.133, allocations: 316.5 kB / 1.115 GB, free: 29.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.506e-05/1.133, allocations: 18.78 kB / 1.115 GB, free: 29.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.656e-05/1.133, allocations: 29.7 kB / 1.115 GB, free: 29.66 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.414e-05/1.133, allocations: 18.55 kB / 1.115 GB, free: 29.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/1.133, allocations: 0 / 1.115 GB, free: 29.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001786/1.133, allocations: 69.03 kB / 1.116 GB, free: 29.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/1.133, allocations: 7.875 kB / 1.116 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/1.134, allocations: 0 / 1.116 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/1.134, allocations: 5.391 kB / 1.116 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.622e-05/1.134, allocations: 11.81 kB / 1.116 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/1.134, allocations: 5.359 kB / 1.116 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.115e-05/1.134, allocations: 0 / 1.116 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/1.134, allocations: 3.906 kB / 1.116 GB, free: 29.61 MB / 0.698 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 9.91e-05/1.134, allocations: 115.1 kB / 1.116 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.471e-05/1.134, allocations: 3.812 kB / 1.116 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002279/1.134, allocations: 85.75 kB / 1.116 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/1.134, allocations: 0 / 1.116 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/1.134, allocations: 0 / 1.116 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/1.134, allocations: 0 / 1.116 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/1.134, allocations: 159.1 kB / 1.116 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/1.134, allocations: 7.844 kB / 1.116 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.736e-05/1.134, allocations: 6.594 kB / 1.116 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/1.134, allocations: 0 / 1.116 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/1.134, allocations: 0 / 1.116 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/1.134, allocations: 3.875 kB / 1.116 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.134, allocations: 4 kB / 1.116 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/1.135, allocations: 106.6 kB / 1.116 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.967e-05/1.135, allocations: 90.2 kB / 1.116 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/1.135, allocations: 3.875 kB / 1.116 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.108e-05/1.135, allocations: 5.109 kB / 1.116 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.223e-05/1.135, allocations: 0 / 1.116 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/1.135, allocations: 5.281 kB / 1.116 GB, free: 29.08 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.359e-05/1.135, allocations: 93.97 kB / 1.116 GB, free: 29 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.9e-07/1.135, allocations: 0 / 1.116 GB, free: 29 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003194/1.135, allocations: 26.12 kB / 1.116 GB, free: 29 MB / 0.698 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.000609/1.136, allocations: 0.6701 MB / 1.117 GB, free: 28.39 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001255/1.136, allocations: 36.05 kB / 1.117 GB, free: 28.38 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.136, allocations: 0 / 1.117 GB, free: 28.38 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.226e-05/1.136, allocations: 14.16 kB / 1.117 GB, free: 28.38 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/1.136, allocations: 7.375 kB / 1.117 GB, free: 28.38 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008317/1.137, allocations: 0.6087 MB / 1.118 GB, free: 27.89 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/1.137, allocations: 0.6835 MB / 1.118 GB, free: 27.19 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.309e-05/1.137, allocations: 3.906 kB / 1.118 GB, free: 27.19 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.959e-05/1.138, allocations: 16.41 kB / 1.118 GB, free: 27.18 MB / 0.698 GB Notification: Performance of SimCode: time 1.683e-06/1.138, allocations: 0 / 1.118 GB, free: 27.18 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02556/1.163, allocations: 1.653 MB / 1.12 GB, free: 27.03 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002886/1.163, allocations: 205.3 kB / 1.12 GB, free: 26.79 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.354/3.518, allocations: 0.875 kB / 1.12 GB, free: 26.79 MB / 0.698 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)