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.687/4.687, allocations: 0.5623 GB / 0.5776 GB, free: 3.332 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.002444/0.002444, allocations: 361.4 kB / 0.6447 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 4.005/4.005, allocations: 410.7 MB / 1.113 GB, free: 5.996 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.00183/0.00183, allocations: 194.6 kB / 1.226 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004815/0.0004817, allocations: 16 kB / 1.349 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7089/0.7094, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.0006315/0.7101, allocations: 252.4 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0004668/0.7105, allocations: 174.4 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.008e-05/0.7106, allocations: 0 / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.75e-05/0.7106, allocations: 3.938 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 3.32e-05/0.7107, allocations: 3.938 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003424/0.711, allocations: 45.58 kB / 1.462 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.142e-05/0.7111, allocations: 7.938 kB / 1.462 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.898e-05/0.7111, allocations: 4 kB / 1.462 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.01e-05/0.7111, allocations: 11.97 kB / 1.462 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.006e-05/0.7112, allocations: 5.594 kB / 1.462 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.7112, allocations: 3.938 kB / 1.462 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002385/0.7115, allocations: 111.8 kB / 1.462 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.78e-05/0.7115, allocations: 7.984 kB / 1.462 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.14e-05/0.7115, allocations: 34.42 kB / 1.462 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.7116, allocations: 43.86 kB / 1.462 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.7117, allocations: 2.094 kB / 1.462 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7117, allocations: 0 / 1.462 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.7117, allocations: 4 kB / 1.462 GB, free: 283.6 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.000272/0.712, allocations: 329.4 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.712, allocations: 12.16 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.014e-05/0.7121, allocations: 0 / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.675e-05/0.7121, allocations: 167.6 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.7122, allocations: 5.781 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.7122, allocations: 0 / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.624e-05/0.7123, allocations: 37.69 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.7123, allocations: 3.938 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.7123, allocations: 3.172 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.7124, allocations: 4 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.946e-05/0.7124, allocations: 11.94 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001422/0.7126, allocations: 173.5 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.603e-05/0.7126, allocations: 27.08 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.292e-05/0.7126, allocations: 10.7 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.834e-05/0.7127, allocations: 4 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.7127, allocations: 35.3 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.7127, allocations: 0 / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0005254/0.7133, allocations: 299.1 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.96e-05/0.7133, allocations: 55.39 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.396e-05/0.7134, allocations: 105.8 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.7134, allocations: 25.7 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.837e-05/0.7134, allocations: 92.8 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.7135, allocations: 4.938 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.7135, allocations: 0 / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.742e-05/0.7135, allocations: 319.8 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.95e-05/0.7136, allocations: 11.98 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.791e-05/0.7136, allocations: 30.45 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.967e-05/0.7137, allocations: 13.08 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.7137, allocations: 3.938 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000116/0.7138, allocations: 71.03 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.7138, allocations: 8 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.7139, allocations: 0 / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.7139, allocations: 1.281 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.6e-05/0.714, allocations: 11.98 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.714, allocations: 0 / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.206e-05/0.714, allocations: 4.688 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.714, allocations: 0 / 1.464 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 6.425e-05/0.7141, allocations: 115.5 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/0.7141, allocations: 4 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001581/0.7143, allocations: 79.02 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.7143, allocations: 0 / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.7143, allocations: 0 / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.449e-05/0.7144, allocations: 85 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.7144, allocations: 4.688 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.669e-05/0.7145, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.983e-05/0.7145, allocations: 2.219 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001819/0.7147, allocations: 142 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002085/0.7149, allocations: 252.1 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.999e-05/0.715, allocations: 21 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.98e-05/0.715, allocations: 88.08 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of Backend: time 7.92e-07/0.715, allocations: 0 / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004869/0.7155, allocations: 123.4 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0003306/0.7159, allocations: 0.5787 MB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.003844/0.7197, allocations: 0.9377 MB / 1.466 GB, free: 279.1 MB / 0.8542 GB