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.472/2.472, allocations: 284.9 MB / 292.4 MB, free: 10.51 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.00145/0.00145, allocations: 180.8 kB / 360.6 MB, free: 7.273 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.043/2.043, allocations: 205.3 MB / 0.6191 GB, free: 12.17 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 86.09 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.019e-05/3.023e-05, allocations: 4 kB / 0.8508 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8504/0.8505, allocations: 115.3 MB / 0.9634 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2362/1.087, allocations: 136.5 MB / 1.097 GB, free: 3.922 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/1.087, allocations: 71.95 kB / 1.097 GB, free: 3.852 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006608/1.094, allocations: 1.354 MB / 1.098 GB, free: 2.531 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.422e-06/1.094, allocations: 0 / 1.098 GB, free: 2.531 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.115e-06/1.094, allocations: 4.594 kB / 1.098 GB, free: 2.527 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.0003641/1.094, allocations: 331.2 kB / 1.098 GB, free: 2.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/1.094, allocations: 12.03 kB / 1.098 GB, free: 2.148 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/1.094, allocations: 5.609 kB / 1.098 GB, free: 2.145 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/1.094, allocations: 171.8 kB / 1.099 GB, free: 1.938 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/1.094, allocations: 3.938 kB / 1.099 GB, free: 1.934 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/1.094, allocations: 0.5 kB / 1.099 GB, free: 1.934 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.815e-05/1.095, allocations: 18.67 kB / 1.099 GB, free: 1.918 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.87e-05/1.095, allocations: 39 kB / 1.099 GB, free: 1.875 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/1.095, allocations: 0 / 1.099 GB, free: 1.875 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/1.095, allocations: 0.5 kB / 1.099 GB, free: 1.875 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/1.095, allocations: 0 / 1.099 GB, free: 1.875 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001822/1.095, allocations: 140 kB / 1.099 GB, free: 1.703 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.516e-05/1.095, allocations: 26.56 kB / 1.099 GB, free: 1.668 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.353e-05/1.095, allocations: 9.797 kB / 1.099 GB, free: 1.656 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.704e-05/1.095, allocations: 4 kB / 1.099 GB, free: 1.652 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/1.095, allocations: 36.03 kB / 1.099 GB, free: 1.609 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.944e-06/1.095, allocations: 0 / 1.099 GB, free: 1.609 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0008369/1.096, allocations: 297.3 kB / 1.099 GB, free: 1.27 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/1.096, allocations: 59.28 kB / 1.099 GB, free: 1.199 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.774e-05/1.096, allocations: 98.12 kB / 1.099 GB, free: 1.098 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/1.096, allocations: 25.7 kB / 1.099 GB, free: 1.066 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.625e-05/1.096, allocations: 84.84 kB / 1.099 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/1.096, allocations: 20.5 kB / 1.099 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/1.096, allocations: 0 / 1.099 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001199/1.096, allocations: 314.4 kB / 1.1 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.23e-05/1.096, allocations: 11.98 kB / 1.1 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.522e-05/1.097, allocations: 31.14 kB / 1.1 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.968e-05/1.097, allocations: 12.86 kB / 1.1 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.097, allocations: 4 kB / 1.1 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002011/1.097, allocations: 71.78 kB / 1.1 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/1.097, allocations: 8 kB / 1.1 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/1.097, allocations: 3.984 kB / 1.1 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/1.097, allocations: 0 / 1.1 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.997e-05/1.097, allocations: 11.98 kB / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/1.097, allocations: 2.875 kB / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.231e-05/1.097, allocations: 0 / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/1.097, allocations: 4 kB / 1.1 GB, free: 500 kB / 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 () * 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.89e-05/1.097, allocations: 104.8 kB / 1.1 GB, free: 388 kB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000177/1.097, allocations: 73.52 kB / 1.1 GB, free: 308 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/1.097, allocations: 7.938 kB / 1.1 GB, free: 300 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/1.098, allocations: 79.58 kB / 1.1 GB, free: 216 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/1.098, allocations: 0 / 1.1 GB, free: 216 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/1.098, allocations: 4 kB / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/1.098, allocations: 0 / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/1.098, allocations: 139.6 kB / 1.1 GB, free: 36 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/1.098, allocations: 0 / 1.1 GB, free: 36 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.616e-05/1.098, allocations: 11.36 kB / 1.1 GB, free: 28 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.974e-06/1.098, allocations: 4 kB / 1.1 GB, free: 24 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/1.098, allocations: 0 / 1.1 GB, free: 24 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/1.098, allocations: 192 / 1.1 GB, free: 24 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.098, allocations: 4 kB / 1.1 GB, free: 20 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002989/1.098, allocations: 112.9 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.769e-05/1.098, allocations: 85.09 kB / 1.1 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/1.098, allocations: 0 / 1.1 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.094e-05/1.099, allocations: 6.875 kB / 1.1 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.592e-05/1.099, allocations: 3.984 kB / 1.1 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/1.099, allocations: 4 kB / 1.1 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.612e-05/1.099, allocations: 91.34 kB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.5e-07/1.099, allocations: 0 / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003286/1.099, allocations: 20 kB / 1.101 GB, free: 15.67 MB / 0.7136 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.0006394/1.1, allocations: 0.6681 MB / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001516/1.1, allocations: 31.98 kB / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.1, allocations: 4.188 kB / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.235e-05/1.1, allocations: 12 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/1.1, allocations: 3.984 kB / 1.101 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004524/1.101, allocations: 134 kB / 1.101 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/1.101, allocations: 0.6807 MB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.389e-05/1.101, allocations: 7.938 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/1.101, allocations: 15.42 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of SimCode: time 6.71e-07/1.101, allocations: 0 / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03766/1.139, allocations: 1.331 MB / 1.103 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003986/1.139, allocations: 165.2 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.37/3.509, allocations: 1.25 kB / 1.104 GB, free: 12.54 MB / 0.7136 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)