Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.716/1.716, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.0009519/0.0009519, allocations: 173 kB / 361.4 MB, free: 6.871 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.331/1.331, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.0008117/0.0008118, allocations: 100.3 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.273e-05/2.282e-05, allocations: 0 / 0.8518 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7369/0.7369, allocations: 115.3 MB / 0.9644 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2087/0.9458, allocations: 136.7 MB / 1.098 GB, free: 3.059 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/0.9461, allocations: 67.97 kB / 1.098 GB, free: 2.992 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004645/0.9507, allocations: 1.356 MB / 1.099 GB, free: 1.672 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.594e-06/0.9508, allocations: 0.5312 kB / 1.099 GB, free: 1.672 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.218e-06/0.9508, allocations: 0.5 kB / 1.099 GB, free: 1.672 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.0003217/0.9511, allocations: 334.9 kB / 1.1 GB, free: 1.301 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.9512, allocations: 13.34 kB / 1.1 GB, free: 1.289 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.9513, allocations: 4.938 kB / 1.1 GB, free: 1.285 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.9514, allocations: 171.9 kB / 1.1 GB, free: 1.078 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.9514, allocations: 2.906 kB / 1.1 GB, free: 1.078 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.9515, allocations: 7.375 kB / 1.1 GB, free: 1.074 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.456e-05/0.9515, allocations: 11.98 kB / 1.1 GB, free: 1.062 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.36e-05/0.9516, allocations: 37.7 kB / 1.1 GB, free: 1.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.9516, allocations: 6.234 kB / 1.1 GB, free: 1.016 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.9517, allocations: 0 / 1.1 GB, free: 1.016 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.9517, allocations: 0 / 1.1 GB, free: 1.016 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002006/0.9519, allocations: 134.2 kB / 1.1 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.324e-05/0.9519, allocations: 28.44 kB / 1.1 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.303e-05/0.952, allocations: 8.922 kB / 1.1 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.621e-05/0.952, allocations: 7.984 kB / 1.1 GB, free: 0.793 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.9521, allocations: 35.62 kB / 1.1 GB, free: 0.75 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.9521, allocations: 0 / 1.1 GB, free: 0.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0007501/0.9528, allocations: 291.9 kB / 1.1 GB, free: 424 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.9529, allocations: 60.12 kB / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.175e-05/0.953, allocations: 103.6 kB / 1.101 GB, free: 244 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.953, allocations: 26.48 kB / 1.101 GB, free: 212 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.9531, allocations: 84.77 kB / 1.101 GB, free: 124 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.9531, allocations: 15.75 kB / 1.101 GB, free: 108 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/0.9531, allocations: 0.5938 kB / 1.101 GB, free: 108 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.9533, allocations: 322.3 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.58e-05/0.9533, allocations: 8 kB / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.339e-05/0.9533, allocations: 26.95 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.459e-05/0.9534, allocations: 16.7 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.9534, allocations: 0.5312 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001454/0.9536, allocations: 78.33 kB / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.9536, allocations: 4 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.9536, allocations: 0.6875 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.9536, allocations: 2.188 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.905e-05/0.9537, allocations: 8 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.9537, allocations: 0.875 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.646e-05/0.9537, allocations: 0 / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.9538, allocations: 4 kB / 1.101 GB, free: 15.63 MB / 0.7136 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 8.114e-05/0.9539, allocations: 112.2 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001226/0.954, allocations: 69.53 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.881e-05/0.954, allocations: 0 / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001837/0.9542, allocations: 84.7 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.9542, allocations: 0 / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.9542, allocations: 0 / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.9542, allocations: 6.609 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.9544, allocations: 134.2 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.9544, allocations: 0 / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.056e-05/0.9544, allocations: 11.95 kB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.9544, allocations: 0.9375 kB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.9545, allocations: 2.938 kB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.9545, allocations: 0 / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.9545, allocations: 3.812 kB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.9547, allocations: 117 kB / 1.102 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/0.9547, allocations: 77.11 kB / 1.102 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.9548, allocations: 7.938 kB / 1.102 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.365e-05/0.9548, allocations: 3.938 kB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.087e-05/0.9548, allocations: 4 kB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.9548, allocations: 0 / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.754e-05/0.9549, allocations: 100.6 kB / 1.102 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9549, allocations: 0 / 1.102 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002496/0.9552, allocations: 20 kB / 1.102 GB, free: 14.81 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.0005599/0.9557, allocations: 0.6629 MB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.594e-05/0.9558, allocations: 27.92 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.9558, allocations: 4.188 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.242e-05/0.9559, allocations: 19.98 kB / 1.103 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001245/0.956, allocations: 7.234 kB / 1.103 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003854/0.9564, allocations: 130.8 kB / 1.103 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.9567, allocations: 0.6875 MB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.867e-05/0.9567, allocations: 4 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.19e-05/0.9568, allocations: 19.38 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of SimCode: time 4.91e-07/0.9568, allocations: 0 / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/0.9764, allocations: 1.323 MB / 1.105 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/0.9767, allocations: 169.8 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.553/2.53, allocations: 4.031 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1)