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.002395/0.002398, allocations: 356.1 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.55/1.55, allocations: 165.8 MB / 182.5 MB, free: 5.465 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.818/3.818, allocations: 410.8 MB / 0.5995 GB, free: 15.09 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.001716/0.001716, allocations: 198 kB / 0.6662 GB, free: 6.918 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004611/0.0004616, allocations: 12 kB / 0.7423 GB, free: 8.953 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3346, allocations: 67.45 MB / 0.8082 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001073/0.3357, allocations: 0.9605 MB / 0.8091 GB, free: 27.82 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004939/0.3362, allocations: 303.1 kB / 0.8094 GB, free: 27.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.308e-05/0.3362, allocations: 0 / 0.8094 GB, free: 27.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.368e-05/0.3362, allocations: 0 / 0.8094 GB, free: 27.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.682e-05/0.3363, allocations: 0 / 0.8094 GB, free: 27.52 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002973/0.3366, allocations: 59.75 kB / 0.8094 GB, free: 27.46 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.613e-05/0.3367, allocations: 7.938 kB / 0.8095 GB, free: 27.46 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.695e-05/0.3367, allocations: 3.984 kB / 0.8095 GB, free: 27.45 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.811e-05/0.3367, allocations: 4 kB / 0.8095 GB, free: 27.45 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.639e-05/0.3368, allocations: 11.92 kB / 0.8095 GB, free: 27.44 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.43e-06/0.3368, allocations: 4 kB / 0.8095 GB, free: 27.43 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000261/0.3371, allocations: 163.7 kB / 0.8096 GB, free: 27.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.896e-06/0.3371, allocations: 0 / 0.8096 GB, free: 27.27 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.619e-05/0.3371, allocations: 25.7 kB / 0.8097 GB, free: 27.24 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.3372, allocations: 54.06 kB / 0.8097 GB, free: 27.19 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3372, allocations: 0 / 0.8097 GB, free: 27.19 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.745e-06/0.3373, allocations: 0 / 0.8097 GB, free: 27.19 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.587e-06/0.3373, allocations: 0 / 0.8097 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.0002589/0.3375, allocations: 331.3 kB / 0.81 GB, free: 26.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.3376, allocations: 8.031 kB / 0.81 GB, free: 26.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.432e-05/0.3376, allocations: 0 / 0.81 GB, free: 26.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.527e-05/0.3377, allocations: 171 kB / 0.8102 GB, free: 26.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.3377, allocations: 0 / 0.8102 GB, free: 26.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.3378, allocations: 0 / 0.8102 GB, free: 26.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.197e-05/0.3379, allocations: 41.66 kB / 0.8102 GB, free: 26.56 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.956e-06/0.3379, allocations: 3.938 kB / 0.8102 GB, free: 26.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.139e-06/0.3379, allocations: 3.938 kB / 0.8102 GB, free: 26.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.3379, allocations: 0 / 0.8102 GB, free: 26.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.871e-05/0.3379, allocations: 7.984 kB / 0.8103 GB, free: 26.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001155/0.3381, allocations: 145.7 kB / 0.8104 GB, free: 26.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.802e-05/0.3381, allocations: 22.61 kB / 0.8104 GB, free: 26.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.906e-05/0.3382, allocations: 8.859 kB / 0.8104 GB, free: 26.31 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.3382, allocations: 12.05 kB / 0.8104 GB, free: 26.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/0.3382, allocations: 30.56 kB / 0.8105 GB, free: 26.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 2.654e-06/0.3382, allocations: 0 / 0.8105 GB, free: 26.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001311/0.3384, allocations: 41.59 kB / 0.8105 GB, free: 26.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.3384, allocations: 51.41 kB / 0.8105 GB, free: 26.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.844e-05/0.3385, allocations: 106 kB / 0.8106 GB, free: 26.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.114e-06/0.3385, allocations: 25.7 kB / 0.8107 GB, free: 26 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.601e-05/0.3385, allocations: 80.14 kB / 0.8108 GB, free: 25.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.3385, allocations: 7.844 kB / 0.8108 GB, free: 25.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-06/0.3386, allocations: 4 kB / 0.8108 GB, free: 25.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.672e-05/0.3386, allocations: 314.8 kB / 0.8111 GB, free: 25.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.26e-05/0.3386, allocations: 0 / 0.8111 GB, free: 25.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.279e-05/0.3387, allocations: 4 kB / 0.8111 GB, free: 25.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.857e-05/0.3387, allocations: 192 / 0.8111 GB, free: 25.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.179e-06/0.3387, allocations: 4 kB / 0.8111 GB, free: 25.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.389e-05/0.3388, allocations: 49.62 kB / 0.8111 GB, free: 25.53 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.3388, allocations: 4 kB / 0.8111 GB, free: 25.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.856e-06/0.3388, allocations: 0 / 0.8111 GB, free: 25.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3388, allocations: 3.953 kB / 0.8111 GB, free: 25.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.339, allocations: 11.98 kB / 0.8111 GB, free: 25.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002643/0.3393, allocations: 0.5783 MB / 0.8117 GB, free: 24.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.36e-05/0.3393, allocations: 8 kB / 0.8117 GB, free: 24.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-06/0.3394, allocations: 4.031 kB / 0.8117 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 7.437e-05/0.3394, allocations: 110.9 kB / 0.8118 GB, free: 24.78 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.523e-05/0.3395, allocations: 7.938 kB / 0.8118 GB, free: 24.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.3396, allocations: 44.81 kB / 0.8119 GB, free: 24.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.231e-06/0.3396, allocations: 0 / 0.8119 GB, free: 24.72 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.3396, allocations: 0 / 0.8119 GB, free: 24.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.498e-06/0.3396, allocations: 8.031 kB / 0.8119 GB, free: 24.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.3398, allocations: 153.6 kB / 0.812 GB, free: 24.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.021e-06/0.3398, allocations: 0 / 0.812 GB, free: 24.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.44e-05/0.3399, allocations: 8 kB / 0.812 GB, free: 24.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.3399, allocations: 3.953 kB / 0.812 GB, free: 24.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.359e-06/0.3399, allocations: 4 kB / 0.812 GB, free: 24.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003569/0.3403, allocations: 0.586 MB / 0.8126 GB, free: 23.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.362e-06/0.3403, allocations: 96 / 0.8126 GB, free: 23.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.98e-05/0.3404, allocations: 69.06 kB / 0.8127 GB, free: 23.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.934e-05/0.3404, allocations: 81.09 kB / 0.8128 GB, free: 23.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.3405, allocations: 4 kB / 0.8128 GB, free: 23.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.111e-05/0.3405, allocations: 4 kB / 0.8128 GB, free: 23.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.149e-05/0.3405, allocations: 0 / 0.8128 GB, free: 23.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.215e-06/0.3405, allocations: 0 / 0.8128 GB, free: 23.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.258e-05/0.3406, allocations: 87.31 kB / 0.8128 GB, free: 23.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.77e-07/0.3406, allocations: 0 / 0.8128 GB, free: 23.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002489/0.3408, allocations: 8 kB / 0.8129 GB, free: 23.61 MB / 378.7 MB 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.0001302/0.341, allocations: 111.7 kB / 0.813 GB, free: 23.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001698/0.3412, allocations: 15.98 kB / 0.813 GB, free: 23.47 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.76e-06/0.3412, allocations: 4 kB / 0.813 GB, free: 23.47 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.3413, allocations: 21.27 kB / 0.813 GB, free: 23.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.3415, allocations: 8.016 kB / 0.813 GB, free: 23.44 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002742/0.3418, allocations: 107.1 kB / 0.8131 GB, free: 23.31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.3419, allocations: 0.6809 MB / 0.8138 GB, free: 22.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.706e-05/0.3419, allocations: 4 kB / 0.8138 GB, free: 22.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.196e-05/0.3419, allocations: 7.438 kB / 0.8138 GB, free: 22.59 MB / 378.7 MB Notification: Performance of SimCode: time 1.408e-06/0.3419, allocations: 4 kB / 0.8138 GB, free: 22.59 MB / 378.7 MB Notification: Performance of Templates: time 0.002547/0.3445, allocations: 431 kB / 0.8142 GB, free: 22.18 MB / 378.7 MB