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.002437/0.002441, allocations: 352.8 kB / 16.57 MB, free: 5.566 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.294/1.294, allocations: 165.8 MB / 183.1 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.218/4.218, allocations: 410.7 MB / 0.6001 GB, free: 2.098 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.001874/0.001874, allocations: 184.6 kB / 0.6668 GB, free: 13.97 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006235/0.0006238, allocations: 12 kB / 0.7429 GB, free: 15.97 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4903/0.4909, allocations: 67.44 MB / 0.8087 GB, free: 245.3 MB / 0.5886 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1458/0.6368, allocations: 98.7 MB / 0.9051 GB, free: 158.6 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/0.6371, allocations: 85.83 kB / 0.9052 GB, free: 158.5 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01022/0.6473, allocations: 2.269 MB / 0.9074 GB, free: 156.3 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.826e-06/0.6474, allocations: 0 / 0.9074 GB, free: 156.3 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.6474, allocations: 7.875 kB / 0.9074 GB, free: 156.3 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.0002919/0.6477, allocations: 340.3 kB / 0.9077 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.6478, allocations: 8.031 kB / 0.9077 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/0.6478, allocations: 3.719 kB / 0.9077 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.899e-05/0.6479, allocations: 171.9 kB / 0.9079 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.6479, allocations: 1.375 kB / 0.9079 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.648, allocations: 4 kB / 0.9079 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.193e-05/0.6481, allocations: 33.7 kB / 0.9079 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.6481, allocations: 4.578 kB / 0.908 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.6481, allocations: 0.5312 kB / 0.908 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.6481, allocations: 0 / 0.908 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.336e-05/0.6482, allocations: 8.625 kB / 0.908 GB, free: 155.6 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001451/0.6483, allocations: 149.7 kB / 0.9081 GB, free: 155.5 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.259e-05/0.6484, allocations: 26.55 kB / 0.9081 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.384e-05/0.6484, allocations: 6.609 kB / 0.9081 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.6484, allocations: 0 / 0.9081 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.6485, allocations: 42.61 kB / 0.9082 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.6485, allocations: 1.031 kB / 0.9082 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001457/0.6486, allocations: 41.59 kB / 0.9082 GB, free: 155.3 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.6487, allocations: 52.19 kB / 0.9083 GB, free: 155.2 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.549e-05/0.6487, allocations: 98.92 kB / 0.9084 GB, free: 155.1 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.405e-06/0.6488, allocations: 25.7 kB / 0.9084 GB, free: 155.1 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.989e-05/0.6488, allocations: 85.16 kB / 0.9085 GB, free: 155 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.6488, allocations: 3.906 kB / 0.9085 GB, free: 155 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.6488, allocations: 2.812 kB / 0.9085 GB, free: 155 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.582e-05/0.6489, allocations: 316.9 kB / 0.9088 GB, free: 154.7 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.589e-05/0.6489, allocations: 4 kB / 0.9088 GB, free: 154.7 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.196e-05/0.6489, allocations: 7.938 kB / 0.9088 GB, free: 154.7 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.053e-05/0.649, allocations: 1.438 kB / 0.9088 GB, free: 154.7 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.649, allocations: 0 / 0.9088 GB, free: 154.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.02e-05/0.6491, allocations: 37.69 kB / 0.9088 GB, free: 154.7 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.6491, allocations: 9.75 kB / 0.9088 GB, free: 154.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.6491, allocations: 3.312 kB / 0.9088 GB, free: 154.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.6491, allocations: 0 / 0.9088 GB, free: 154.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.6493, allocations: 19.89 kB / 0.9089 GB, free: 154.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002871/0.6496, allocations: 0.5845 MB / 0.9094 GB, free: 154 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.164e-05/0.6497, allocations: 0 / 0.9094 GB, free: 154 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.6497, allocations: 0 / 0.9094 GB, free: 154 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 6.687e-05/0.6498, allocations: 113.3 kB / 0.9095 GB, free: 153.9 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.016e-05/0.6498, allocations: 3.953 kB / 0.9095 GB, free: 153.9 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.6499, allocations: 51.31 kB / 0.9096 GB, free: 153.8 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.65, allocations: 0 / 0.9096 GB, free: 153.8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.65, allocations: 0 / 0.9096 GB, free: 153.8 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.65, allocations: 0 / 0.9096 GB, free: 153.8 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.817e-05/0.6501, allocations: 157.6 kB / 0.9097 GB, free: 153.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.6501, allocations: 0 / 0.9097 GB, free: 153.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.6502, allocations: 8.719 kB / 0.9097 GB, free: 153.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.6502, allocations: 3.953 kB / 0.9098 GB, free: 153.6 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.6502, allocations: 1.562 kB / 0.9098 GB, free: 153.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002373/0.6505, allocations: 0.5873 MB / 0.9103 GB, free: 153 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6505, allocations: 0 / 0.9103 GB, free: 153 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.827e-05/0.6506, allocations: 66.41 kB / 0.9104 GB, free: 152.9 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.328e-05/0.6506, allocations: 77.81 kB / 0.9105 GB, free: 152.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.6507, allocations: 5.609 kB / 0.9105 GB, free: 152.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.05e-05/0.6507, allocations: 6.25 kB / 0.9105 GB, free: 152.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.262e-05/0.6507, allocations: 0 / 0.9105 GB, free: 152.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.6507, allocations: 0 / 0.9105 GB, free: 152.8 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.259e-05/0.6507, allocations: 80.44 kB / 0.9106 GB, free: 152.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.2e-07/0.6508, allocations: 4 kB / 0.9106 GB, free: 152.8 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002428/0.651, allocations: 8.656 kB / 0.9106 GB, free: 152.8 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.0001613/0.6512, allocations: 120.2 kB / 0.9107 GB, free: 152.6 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002216/0.6514, allocations: 21.08 kB / 0.9107 GB, free: 152.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6514, allocations: 3.938 kB / 0.9107 GB, free: 152.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.6516, allocations: 13.61 kB / 0.9107 GB, free: 152.6 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/0.6518, allocations: 11.95 kB / 0.9107 GB, free: 152.6 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.6521, allocations: 104.8 kB / 0.9108 GB, free: 152.4 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.6523, allocations: 0.6798 MB / 0.9115 GB, free: 151.7 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.876e-05/0.6523, allocations: 0 / 0.9115 GB, free: 151.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.377e-05/0.6523, allocations: 7.438 kB / 0.9115 GB, free: 151.7 MB / 0.5886 GB Notification: Performance of SimCode: time 8.62e-07/0.6523, allocations: 0 / 0.9115 GB, free: 151.7 MB / 0.5886 GB Notification: Performance of Templates: time 0.002892/0.6552, allocations: 426.4 kB / 0.9119 GB, free: 151.4 MB / 0.5886 GB