Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.554/4.554, allocations: 0.5623 GB / 0.5769 GB, free: 3.355 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002399/0.002399, allocations: 359.9 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.92/3.92, allocations: 410.7 MB / 1.112 GB, free: 5.945 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001745/0.001745, allocations: 182.2 kB / 1.225 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004789/0.0004791, allocations: 8 kB / 1.348 GB, free: 8.16 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5631/0.5636, allocations: 115.3 MB / 1.461 GB, free: 284.2 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.0005232/0.5641, allocations: 252.4 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0004203/0.5646, allocations: 179.2 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.915e-05/0.5646, allocations: 0 / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.995e-05/0.5646, allocations: 0 / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 3.235e-05/0.5647, allocations: 4.5 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.565, allocations: 41.2 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 3.606e-05/0.565, allocations: 7.938 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.916e-05/0.5651, allocations: 11.92 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 1.849e-05/0.5651, allocations: 8 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.782e-05/0.5651, allocations: 0.625 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.5651, allocations: 2.562 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000195/0.5654, allocations: 119.7 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.734e-05/0.5654, allocations: 11.98 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.686e-05/0.5654, allocations: 25.7 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 9.699e-05/0.5655, allocations: 47.86 kB / 1.461 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.821e-06/0.5655, allocations: 0 / 1.461 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.736e-06/0.5656, allocations: 0 / 1.461 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.902e-06/0.5656, allocations: 1.594 kB / 1.461 GB, free: 283.5 MB / 0.8542 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.0002337/0.5658, allocations: 329.4 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.5659, allocations: 11.62 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.752e-05/0.5659, allocations: 5.656 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.136e-05/0.566, allocations: 167 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.566, allocations: 1.5 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.566, allocations: 4 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.564e-05/0.5661, allocations: 38.47 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.471e-06/0.5661, allocations: 1.031 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.5662, allocations: 0 / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.892e-06/0.5662, allocations: 0 / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.742e-05/0.5662, allocations: 14.73 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000127/0.5663, allocations: 177.4 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.902e-05/0.5664, allocations: 22.58 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.293e-05/0.5664, allocations: 12.91 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.546e-05/0.5665, allocations: 4.5 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.5665, allocations: 31.12 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.747e-06/0.5665, allocations: 1.562 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0004965/0.567, allocations: 300.6 kB / 1.462 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.828e-05/0.5671, allocations: 51.41 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.318e-05/0.5671, allocations: 110.5 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.885e-06/0.5672, allocations: 25.7 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.588e-05/0.5672, allocations: 84.64 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.5672, allocations: 12.72 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-06/0.5672, allocations: 0 / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.973e-05/0.5673, allocations: 327.2 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.785e-05/0.5673, allocations: 9.562 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.287e-05/0.5674, allocations: 29.7 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.482e-05/0.5674, allocations: 12.69 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5674, allocations: 0.5938 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001137/0.5676, allocations: 75.11 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.5676, allocations: 4 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.911e-06/0.5676, allocations: 3.938 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.5676, allocations: 0 / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.804e-05/0.5677, allocations: 12.94 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.402e-06/0.5677, allocations: 0 / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.04e-05/0.5677, allocations: 4.906 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.926e-06/0.5678, allocations: 4 kB / 1.463 GB, free: 281.5 MB / 0.8542 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 5.494e-05/0.5678, allocations: 118.7 kB / 1.463 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.5678, allocations: 3.734 kB / 1.463 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.568, allocations: 73.83 kB / 1.463 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.033e-06/0.568, allocations: 4 kB / 1.463 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.045e-06/0.568, allocations: 0 / 1.463 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.779e-06/0.568, allocations: 0 / 1.463 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.708e-05/0.5681, allocations: 170.1 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.999e-06/0.5681, allocations: 0 / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.489e-05/0.5682, allocations: 8.578 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.5682, allocations: 1.781 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.07e-06/0.5682, allocations: 0 / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.759e-06/0.5682, allocations: 7.984 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.881e-06/0.5683, allocations: 0 / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.5684, allocations: 104.1 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.001e-05/0.5684, allocations: 85.09 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.5685, allocations: 0 / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.712e-05/0.5685, allocations: 3.984 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.67e-05/0.5686, allocations: 4.5 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.768e-06/0.5686, allocations: 5.781 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.458e-05/0.5686, allocations: 87.27 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.307e-06/0.5686, allocations: 0 / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002683/0.5689, allocations: 27.94 kB / 1.464 GB, free: 280.7 MB / 0.8542 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.000155/0.5691, allocations: 116 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.461e-05/0.5692, allocations: 24.7 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.566e-06/0.5692, allocations: 1.031 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.975e-05/0.5692, allocations: 19.92 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001748/0.5694, allocations: 8.938 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002193/0.5697, allocations: 134.6 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.5698, allocations: 0.6858 MB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.051e-05/0.5698, allocations: 9.734 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.58e-05/0.5699, allocations: 7.438 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.301e-06/0.5699, allocations: 0 / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.003338/0.5732, allocations: 0.865 MB / 1.466 GB, free: 278.8 MB / 0.8542 GB