Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003534/0.003534, allocations: 357.5 kB / 16.59 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.558/1.558, allocations: 165.8 MB / 183.1 MB, free: 5.418 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.684/3.684, allocations: 410.8 MB / 0.6001 GB, free: 15.15 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001759/0.001758, allocations: 198.3 kB / 0.6668 GB, free: 6.926 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004609/0.0004611, allocations: 16 kB / 0.7429 GB, free: 8.965 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.3999, allocations: 67.45 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001337/0.4013, allocations: 0.9639 MB / 0.8097 GB, free: 27.82 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005971/0.4019, allocations: 299.1 kB / 0.81 GB, free: 27.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.455e-05/0.4019, allocations: 0 / 0.81 GB, free: 27.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.188e-05/0.402, allocations: 0 / 0.81 GB, free: 27.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.457e-05/0.402, allocations: 3.984 kB / 0.81 GB, free: 27.52 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.4024, allocations: 59.75 kB / 0.81 GB, free: 27.46 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.139e-05/0.4024, allocations: 11.92 kB / 0.81 GB, free: 27.45 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.23e-05/0.4025, allocations: 0 / 0.81 GB, free: 27.45 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.834e-05/0.4025, allocations: 4 kB / 0.8101 GB, free: 27.45 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.459e-05/0.4026, allocations: 11.92 kB / 0.8101 GB, free: 27.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.4026, allocations: 4 kB / 0.8101 GB, free: 27.43 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003191/0.4029, allocations: 159.7 kB / 0.8102 GB, free: 27.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.664e-06/0.4029, allocations: 0 / 0.8102 GB, free: 27.27 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.808e-05/0.403, allocations: 25.7 kB / 0.8102 GB, free: 27.24 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.4031, allocations: 54.05 kB / 0.8103 GB, free: 27.19 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.4031, allocations: 4 kB / 0.8103 GB, free: 27.19 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4031, allocations: 0 / 0.8103 GB, free: 27.19 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.4031, allocations: 0 / 0.8103 GB, free: 27.19 MB / 378.7 MB 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.0002839/0.4034, allocations: 331.2 kB / 0.8106 GB, free: 26.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.4035, allocations: 8.031 kB / 0.8106 GB, free: 26.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.965e-05/0.4035, allocations: 0 / 0.8106 GB, free: 26.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.058e-05/0.4036, allocations: 163 kB / 0.8108 GB, free: 26.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.4036, allocations: 0 / 0.8108 GB, free: 26.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.4036, allocations: 4 kB / 0.8108 GB, free: 26.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.499e-05/0.4037, allocations: 45.58 kB / 0.8108 GB, free: 26.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.4038, allocations: 7.984 kB / 0.8108 GB, free: 26.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.4038, allocations: 0 / 0.8108 GB, free: 26.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.4038, allocations: 0 / 0.8108 GB, free: 26.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.107e-05/0.4038, allocations: 4 kB / 0.8108 GB, free: 26.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001271/0.404, allocations: 149.7 kB / 0.811 GB, free: 26.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.114e-05/0.404, allocations: 22.61 kB / 0.811 GB, free: 26.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.247e-05/0.4041, allocations: 16.8 kB / 0.811 GB, free: 26.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.4041, allocations: 0 / 0.811 GB, free: 26.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.4041, allocations: 34.62 kB / 0.8111 GB, free: 26.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.4041, allocations: 3.938 kB / 0.8111 GB, free: 26.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001367/0.4043, allocations: 41.64 kB / 0.8111 GB, free: 26.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.789e-05/0.4043, allocations: 55.41 kB / 0.8111 GB, free: 26.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.067e-05/0.4044, allocations: 97.98 kB / 0.8112 GB, free: 26.03 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.346e-06/0.4044, allocations: 25.7 kB / 0.8113 GB, free: 26 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.818e-05/0.4044, allocations: 80.14 kB / 0.8113 GB, free: 25.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.4045, allocations: 7.844 kB / 0.8113 GB, free: 25.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.4045, allocations: 0 / 0.8113 GB, free: 25.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.664e-05/0.4045, allocations: 322.8 kB / 0.8117 GB, free: 25.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.474e-05/0.4046, allocations: 0 / 0.8117 GB, free: 25.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.143e-05/0.4046, allocations: 0 / 0.8117 GB, free: 25.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.089e-05/0.4046, allocations: 4 kB / 0.8117 GB, free: 25.58 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4046, allocations: 4.188 kB / 0.8117 GB, free: 25.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.974e-05/0.4047, allocations: 41.64 kB / 0.8117 GB, free: 25.53 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.4047, allocations: 8 kB / 0.8117 GB, free: 25.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.4047, allocations: 0 / 0.8117 GB, free: 25.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.4048, allocations: 0 / 0.8117 GB, free: 25.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.405, allocations: 15.94 kB / 0.8117 GB, free: 25.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003129/0.4053, allocations: 0.5782 MB / 0.8123 GB, free: 24.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.665e-05/0.4053, allocations: 4.125 kB / 0.8123 GB, free: 24.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.4054, allocations: 3.938 kB / 0.8123 GB, free: 24.9 MB / 378.7 MB 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.422e-05/0.4054, allocations: 118.9 kB / 0.8124 GB, free: 24.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.046e-05/0.4055, allocations: 3.953 kB / 0.8124 GB, free: 24.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.4056, allocations: 40.83 kB / 0.8125 GB, free: 24.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4056, allocations: 3.984 kB / 0.8125 GB, free: 24.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4056, allocations: 0 / 0.8125 GB, free: 24.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.123e-05/0.4056, allocations: 85.05 kB / 0.8125 GB, free: 24.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.4057, allocations: 8 kB / 0.8125 GB, free: 24.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.084e-05/0.4057, allocations: 0 / 0.8125 GB, free: 24.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.287e-05/0.4057, allocations: 0 / 0.8125 GB, free: 24.61 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002155/0.4059, allocations: 133.8 kB / 0.8127 GB, free: 24.47 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001561/0.4061, allocations: 218.8 kB / 0.8129 GB, free: 24.24 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.114e-05/0.4062, allocations: 4.031 kB / 0.8129 GB, free: 24.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.096e-05/0.4062, allocations: 83.27 kB / 0.813 GB, free: 24.15 MB / 378.7 MB Notification: Performance of Backend: time 6.11e-07/0.4062, allocations: 0 / 0.813 GB, free: 24.15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006558/0.4069, allocations: 124.2 kB / 0.8131 GB, free: 24.03 MB / 378.7 MB Notification: Performance of SimCode: time 0.0004913/0.4074, allocations: 0.5668 MB / 0.8136 GB, free: 23.41 MB / 378.7 MB Notification: Performance of Templates: time 0.003318/0.4107, allocations: 0.6938 MB / 0.8143 GB, free: 22.73 MB / 378.7 MB