Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00241/0.00241, allocations: 356.8 kB / 15.94 MB, free: 6.207 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.393/1.393, allocations: 165.8 MB / 182.5 MB, free: 5.914 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.278/4.278, allocations: 410.8 MB / 0.5995 GB, free: 2.195 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001801/0.001801, allocations: 185.1 kB / 0.6662 GB, free: 14.03 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004513/0.0004516, allocations: 16 kB / 0.7423 GB, free: 28 kB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4299/0.4304, allocations: 67.44 MB / 0.8081 GB, free: 245.3 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001314/0.4317, allocations: 0.9572 MB / 0.8091 GB, free: 244.8 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006201/0.4324, allocations: 332.3 kB / 0.8094 GB, free: 244.7 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.792e-05/0.4324, allocations: 1.031 kB / 0.8094 GB, free: 244.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.131e-05/0.4324, allocations: 0 / 0.8094 GB, free: 244.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.172e-05/0.4325, allocations: 4.453 kB / 0.8094 GB, free: 244.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003463/0.4329, allocations: 65.81 kB / 0.8095 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.059e-05/0.4329, allocations: 14.44 kB / 0.8095 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.406e-05/0.433, allocations: 4.844 kB / 0.8095 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 1.866e-05/0.433, allocations: 4.234 kB / 0.8095 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.87e-05/0.433, allocations: 2.766 kB / 0.8095 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 9.641e-06/0.433, allocations: 1.844 kB / 0.8095 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003456/0.4334, allocations: 170.5 kB / 0.8097 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.097e-06/0.4334, allocations: 1.875 kB / 0.8097 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.856e-05/0.4335, allocations: 26.95 kB / 0.8097 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.4336, allocations: 50.66 kB / 0.8097 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.261e-06/0.4336, allocations: 1.406 kB / 0.8097 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.3e-06/0.4336, allocations: 0 / 0.8097 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.364e-06/0.4336, allocations: 0.8438 kB / 0.8097 GB, free: 244.6 MB / 0.5886 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.0002696/0.4339, allocations: 331.5 kB / 0.81 GB, free: 244.2 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.434, allocations: 10.19 kB / 0.8101 GB, free: 244.2 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.434, allocations: 1.125 kB / 0.8101 GB, free: 244.2 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.419e-05/0.4341, allocations: 171.3 kB / 0.8102 GB, free: 244 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.4341, allocations: 0 / 0.8102 GB, free: 244 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.4341, allocations: 4.688 kB / 0.8102 GB, free: 244 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.02e-05/0.4342, allocations: 35.38 kB / 0.8103 GB, free: 244 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.4343, allocations: 0 / 0.8103 GB, free: 244 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.431e-06/0.4343, allocations: 1.281 kB / 0.8103 GB, free: 244 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.4343, allocations: 2.062 kB / 0.8103 GB, free: 244 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.951e-05/0.4343, allocations: 2.703 kB / 0.8103 GB, free: 244 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001211/0.4345, allocations: 152.2 kB / 0.8104 GB, free: 243.8 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.23e-05/0.4345, allocations: 31.88 kB / 0.8104 GB, free: 243.7 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.064e-05/0.4346, allocations: 10.88 kB / 0.8105 GB, free: 243.7 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.4346, allocations: 0.7812 kB / 0.8105 GB, free: 243.7 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.4346, allocations: 34.25 kB / 0.8105 GB, free: 243.7 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.917e-06/0.4346, allocations: 0 / 0.8105 GB, free: 243.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001344/0.4348, allocations: 48.25 kB / 0.8105 GB, free: 243.7 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/0.4348, allocations: 53.34 kB / 0.8106 GB, free: 243.6 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.91e-05/0.4349, allocations: 93.7 kB / 0.8107 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.373e-06/0.4349, allocations: 26.33 kB / 0.8107 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.002e-05/0.4349, allocations: 85.02 kB / 0.8108 GB, free: 243.4 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.4349, allocations: 12.59 kB / 0.8108 GB, free: 243.4 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-06/0.435, allocations: 2.156 kB / 0.8108 GB, free: 243.4 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 4.796e-05/0.435, allocations: 312.9 kB / 0.8111 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.405e-05/0.435, allocations: 1.938 kB / 0.8111 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.244e-05/0.4351, allocations: 4.672 kB / 0.8111 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.154e-05/0.4351, allocations: 3.172 kB / 0.8111 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.949e-06/0.4351, allocations: 0 / 0.8111 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.996e-05/0.4352, allocations: 40.64 kB / 0.8111 GB, free: 243 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.4352, allocations: 5.969 kB / 0.8111 GB, free: 243 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.818e-06/0.4352, allocations: 0 / 0.8111 GB, free: 243 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.4352, allocations: 5.188 kB / 0.8111 GB, free: 243 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.4354, allocations: 15 kB / 0.8112 GB, free: 243 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002897/0.4357, allocations: 0.5809 MB / 0.8117 GB, free: 242.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.563e-05/0.4358, allocations: 6.359 kB / 0.8117 GB, free: 242.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.776e-06/0.4358, allocations: 1.031 kB / 0.8117 GB, free: 242.4 MB / 0.5886 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 5.758e-05/0.4359, allocations: 114.6 kB / 0.8118 GB, free: 242.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.185e-05/0.4359, allocations: 5.859 kB / 0.8119 GB, free: 242.3 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.436, allocations: 47.98 kB / 0.8119 GB, free: 242.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.041e-06/0.436, allocations: 2.062 kB / 0.8119 GB, free: 242.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.471e-06/0.436, allocations: 0.6094 kB / 0.8119 GB, free: 242.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.23e-06/0.436, allocations: 1.375 kB / 0.8119 GB, free: 242.3 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.205e-05/0.4361, allocations: 155.1 kB / 0.812 GB, free: 242.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.417e-06/0.4361, allocations: 0.8438 kB / 0.812 GB, free: 242.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.924e-05/0.4362, allocations: 10.55 kB / 0.8121 GB, free: 242.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.536e-06/0.4363, allocations: 6.391 kB / 0.8121 GB, free: 242.1 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.271e-06/0.4363, allocations: 0.5156 kB / 0.8121 GB, free: 242.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002297/0.4365, allocations: 0.5807 MB / 0.8126 GB, free: 241.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.568e-06/0.4365, allocations: 2.156 kB / 0.8126 GB, free: 241.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.625e-05/0.4366, allocations: 70.02 kB / 0.8127 GB, free: 241.4 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.026e-05/0.4367, allocations: 82.77 kB / 0.8128 GB, free: 241.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.4367, allocations: 3.906 kB / 0.8128 GB, free: 241.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.143e-05/0.4367, allocations: 1.312 kB / 0.8128 GB, free: 241.3 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.222e-05/0.4367, allocations: 2.125 kB / 0.8128 GB, free: 241.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.201e-06/0.4367, allocations: 1 kB / 0.8128 GB, free: 241.3 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.3e-05/0.4368, allocations: 79.39 kB / 0.8129 GB, free: 241.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.629e-06/0.4368, allocations: 0 / 0.8129 GB, free: 241.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002598/0.4371, allocations: 16.36 kB / 0.8129 GB, free: 241.2 MB / 0.5886 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 (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 Backend phase and start with SimCode phase: time 0.0001488/0.4372, allocations: 106.5 kB / 0.813 GB, free: 241.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001794/0.4374, allocations: 26.53 kB / 0.813 GB, free: 241.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.4374, allocations: 0 / 0.813 GB, free: 241.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.4376, allocations: 18.73 kB / 0.813 GB, free: 241.1 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.4377, allocations: 5.328 kB / 0.813 GB, free: 241.1 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003067/0.4381, allocations: 110.8 kB / 0.8131 GB, free: 241 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.4382, allocations: 0.6766 MB / 0.8138 GB, free: 240.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.833e-05/0.4382, allocations: 2.094 kB / 0.8138 GB, free: 240.3 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.344e-05/0.4382, allocations: 8.812 kB / 0.8138 GB, free: 240.3 MB / 0.5886 GB Notification: Performance of SimCode: time 1.43e-06/0.4382, allocations: 3.281 kB / 0.8138 GB, free: 240.3 MB / 0.5886 GB Notification: Performance of Templates: time 0.002797/0.4411, allocations: 413.9 kB / 0.8142 GB, free: 240.3 MB / 0.5886 GB