Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.Biquadratic.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.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.Biquadratic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.177/5.177, allocations: 0.5623 GB / 0.5769 GB, free: 3.297 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.002401/0.0024, allocations: 357.7 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 4.28/4.28, allocations: 410.7 MB / 1.112 GB, free: 5.957 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.001802/0.001801, allocations: 175.4 kB / 1.225 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004911/0.0004914, allocations: 12 kB / 1.348 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5909/0.5915, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.00141/0.5929, allocations: 1.192 MB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0002328/0.5932, allocations: 104.6 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.304e-05/0.5932, allocations: 0 / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.555e-05/0.5933, allocations: 0 / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.14e-05/0.5933, allocations: 13.55 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001437/0.5935, allocations: 11.97 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.257e-05/0.5936, allocations: 43.8 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.046e-05/0.5937, allocations: 9.297 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.223e-05/0.5937, allocations: 15.94 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.256e-05/0.5938, allocations: 19.91 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.5938, allocations: 4.5 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.013e-05/0.5939, allocations: 17.14 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.972e-05/0.5939, allocations: 11.92 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.978e-05/0.5939, allocations: 33.7 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 8.147e-05/0.594, allocations: 37.23 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.594, allocations: 0 / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.814e-06/0.594, allocations: 0 / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.103e-06/0.5941, allocations: 0 / 1.462 GB, free: 282.8 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004339/0.5945, allocations: 381.4 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.5945, allocations: 15.62 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.082e-05/0.5946, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.802e-05/0.5947, allocations: 178.9 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.5947, allocations: 4 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.5947, allocations: 4.906 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/0.595, allocations: 88.94 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.595, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.5951, allocations: 4 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.289e-06/0.5951, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003381/0.5954, allocations: 99.56 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003459/0.5958, allocations: 284.4 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.5961, allocations: 81.78 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.5963, allocations: 54.5 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002059/0.5965, allocations: 102.5 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.5965, allocations: 35.17 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 2.556e-06/0.5965, allocations: 0.6875 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0006466/0.5972, allocations: 183 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.5972, allocations: 56.66 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.774e-05/0.5973, allocations: 133.7 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.5973, allocations: 30.95 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.76e-05/0.5974, allocations: 92.12 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.5974, allocations: 15.75 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.928e-06/0.5974, allocations: 1.469 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.249e-05/0.5975, allocations: 318.8 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.5977, allocations: 47.09 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.5979, allocations: 49.17 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.598, allocations: 52.45 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.38e-06/0.5981, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003919/0.5985, allocations: 126.4 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.5985, allocations: 4 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.923e-06/0.5985, allocations: 0 / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.5985, allocations: 1.25 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.5987, allocations: 32.88 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.823e-06/0.5987, allocations: 0 / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.463e-05/0.5988, allocations: 22.05 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.5988, allocations: 7.953 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 6.915e-05/0.5989, allocations: 114.8 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.815e-05/0.599, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000428/0.5994, allocations: 146.1 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.78e-06/0.5994, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.794e-06/0.5994, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.979e-06/0.5995, allocations: 0.7812 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.5996, allocations: 181.6 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.348e-06/0.5997, allocations: 0.5312 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.5998, allocations: 21.42 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.242e-06/0.5998, allocations: 6.281 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.615e-06/0.5998, allocations: 4.719 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.237e-06/0.5998, allocations: 8.797 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.616e-06/0.5998, allocations: 4 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004227/0.6003, allocations: 232.9 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.441e-05/0.6003, allocations: 81.02 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.6003, allocations: 3.984 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.6005, allocations: 19.05 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/0.6006, allocations: 4 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.815e-06/0.6006, allocations: 3.938 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.539e-05/0.6006, allocations: 105.5 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.58e-07/0.6006, allocations: 0 / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003138/0.601, allocations: 8.562 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 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.0001248/0.6011, allocations: 100.2 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004035/0.6015, allocations: 105.5 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.512e-06/0.6015, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001839/0.6017, allocations: 53.58 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.6021, allocations: 19.8 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000339/0.6024, allocations: 155.4 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.6026, allocations: 0.6926 MB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.384e-05/0.6027, allocations: 4.75 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.6027, allocations: 8.156 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of SimCode: time 1.436e-06/0.6027, allocations: 0 / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of Templates: time 0.003129/0.6058, allocations: 0.6401 MB / 1.467 GB, free: 277.4 MB / 0.8542 GB