Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.889/4.889, allocations: 0.5623 GB / 0.5776 GB, free: 3.328 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.002442/0.002442, allocations: 357 kB / 0.6447 GB, free: 185.7 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.172/4.172, allocations: 410.7 MB / 1.113 GB, free: 6.062 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.001893/0.001893, allocations: 179 kB / 1.226 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004812/0.0004814, allocations: 12 kB / 1.349 GB, free: 8.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7481/0.7486, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001366/0.75, allocations: 0.9831 MB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0006265/0.7507, allocations: 293 kB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.26e-05/0.7507, allocations: 0 / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.227e-05/0.7508, allocations: 1.031 kB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.196e-05/0.7508, allocations: 0 / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.7512, allocations: 64.28 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.101e-05/0.7512, allocations: 9.219 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.834e-05/0.7513, allocations: 0 / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 1.997e-05/0.7513, allocations: 4 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.254e-05/0.7514, allocations: 10.78 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.7514, allocations: 4 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003308/0.7517, allocations: 167.6 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.695e-06/0.7517, allocations: 0 / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.949e-05/0.7518, allocations: 25.7 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.7519, allocations: 50.05 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.7519, allocations: 0 / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.472e-06/0.7519, allocations: 0 / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.752, allocations: 0.9062 kB / 1.463 GB, free: 282.7 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.000301/0.7523, allocations: 332.2 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.7523, allocations: 11.62 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.786e-05/0.7524, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.59e-05/0.7524, allocations: 163.9 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.7525, allocations: 0 / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.7525, allocations: 4.625 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.131e-05/0.7526, allocations: 40.25 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.7526, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.7526, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.7526, allocations: 3.938 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.284e-05/0.7527, allocations: 4.984 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001324/0.7528, allocations: 155.2 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.425e-05/0.7529, allocations: 26.55 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.299e-05/0.7529, allocations: 8.859 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.753, allocations: 1.625 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.753, allocations: 34.62 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.753, allocations: 4.719 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001385/0.7532, allocations: 45.53 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.884e-05/0.7532, allocations: 52.44 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.434e-05/0.7533, allocations: 98.8 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.7533, allocations: 25.7 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.968e-05/0.7533, allocations: 84.88 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.7533, allocations: 7.844 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-06/0.7533, allocations: 0.5 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.629e-05/0.7534, allocations: 319.4 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.571e-05/0.7534, allocations: 5.516 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.303e-05/0.7535, allocations: 4 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.113e-05/0.7535, allocations: 1.281 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.7535, allocations: 3.953 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.173e-05/0.7536, allocations: 41.64 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.7536, allocations: 8.656 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.7536, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.7536, allocations: 0.9062 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.7539, allocations: 14.52 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003001/0.7542, allocations: 0.5802 MB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.559e-05/0.7542, allocations: 0 / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.7543, allocations: 4.672 kB / 1.465 GB, free: 280.5 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 6.528e-05/0.7543, allocations: 110.5 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.081e-05/0.7544, allocations: 5.609 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.7545, allocations: 44.77 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.7545, allocations: 0 / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.7545, allocations: 2.094 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.387e-05/0.7545, allocations: 81.09 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.7546, allocations: 7.953 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.152e-05/0.7546, allocations: 8 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.7546, allocations: 0 / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002264/0.7549, allocations: 136.6 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001248/0.755, allocations: 214.8 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.472e-05/0.7551, allocations: 10.12 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.137e-05/0.7551, allocations: 75.28 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of Backend: time 6.52e-07/0.7551, allocations: 0 / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006566/0.7558, allocations: 125.7 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0004225/0.7562, allocations: 0.5674 MB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of Templates: time 0.003478/0.7597, allocations: 0.6949 MB / 1.467 GB, free: 278.4 MB / 0.8542 GB