Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.993/4.993, allocations: 0.5623 GB / 0.5776 GB, free: 3.371 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.002484/0.002484, allocations: 351.7 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.088/4.088, allocations: 410.7 MB / 1.113 GB, free: 5.852 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.001909/0.001909, allocations: 191.8 kB / 1.226 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004808/0.000481, allocations: 12 kB / 1.349 GB, free: 8.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6939/0.6944, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001419/0.6959, allocations: 1.014 MB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0009658/0.6969, allocations: 0.5301 MB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.424e-05/0.6969, allocations: 1.625 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.7e-05/0.697, allocations: 0 / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.346e-05/0.697, allocations: 7.922 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005188/0.6976, allocations: 116.6 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.652e-05/0.6976, allocations: 24.61 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.028e-05/0.6977, allocations: 0 / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.134e-05/0.6977, allocations: 8.844 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.106e-05/0.6978, allocations: 11.98 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.6978, allocations: 4 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000608/0.6984, allocations: 332 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.185e-06/0.6984, allocations: 3.938 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.898e-05/0.6985, allocations: 28.17 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.6987, allocations: 97.94 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.6987, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6987, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.6987, allocations: 0 / 1.463 GB, free: 282.1 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.0003669/0.6991, allocations: 353 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.6991, allocations: 15.62 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.904e-05/0.6992, allocations: 3.906 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.422e-05/0.6993, allocations: 171 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.6993, allocations: 5.469 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.6993, allocations: 0 / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.6994, allocations: 41.69 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.6995, allocations: 0.7812 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.6995, allocations: 0 / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.6995, allocations: 0 / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.059e-05/0.6996, allocations: 23.39 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003213/0.6999, allocations: 252.8 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.7001, allocations: 47.91 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.081e-05/0.7002, allocations: 16.86 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.7002, allocations: 4.516 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/0.7002, allocations: 35.5 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 1.684e-06/0.7003, allocations: 0.7188 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.0001826/0.7004, allocations: 58.47 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.857e-05/0.7005, allocations: 56.47 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.209e-05/0.7005, allocations: 97.86 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.7006, allocations: 26.55 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.071e-05/0.7006, allocations: 84.05 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.236e-05/0.7006, allocations: 12.64 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-06/0.7006, allocations: 4 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.618e-05/0.7007, allocations: 316.1 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.51e-05/0.7007, allocations: 4 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.54e-05/0.7008, allocations: 27.02 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.754e-05/0.7008, allocations: 9.969 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.7008, allocations: 1.281 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001112/0.701, allocations: 65.53 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.701, allocations: 4 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.701, allocations: 0.625 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.701, allocations: 1.062 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.059e-05/0.7011, allocations: 8 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.7011, allocations: 0 / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.651e-05/0.7012, allocations: 8.438 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.7012, allocations: 5.547 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: 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 (5): * Single equations (assignments): 5 * 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.11e-05/0.7013, allocations: 117.7 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.7013, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.7015, allocations: 64.19 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.7015, allocations: 0 / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.7015, allocations: 0 / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.261e-05/0.7015, allocations: 85 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.7015, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.739e-05/0.7016, allocations: 4.078 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.93e-05/0.7016, allocations: 8.562 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000116/0.7018, allocations: 132.4 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001252/0.7019, allocations: 222.8 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.22e-05/0.702, allocations: 10.11 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.545e-05/0.702, allocations: 83.28 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of Backend: time 4.7e-07/0.702, allocations: 0 / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005901/0.7026, allocations: 161.3 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0003371/0.703, allocations: 0.5721 MB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.00412/0.7071, allocations: 1.124 MB / 1.468 GB, free: 277.6 MB / 0.8542 GB