Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.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 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.428/2.428, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0021/0.0021, allocations: 175.4 kB / 325.6 MB, free: 2.824 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.661/2.661, allocations: 205.4 MB / 0.5766 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001155/0.001155, allocations: 104.2 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005391/0.0005392, allocations: 11.62 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2398, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002194/0.242, allocations: 0.9743 MB / 0.8998 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009425/0.2431, allocations: 297.3 kB / 0.9001 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.94e-05/0.2431, allocations: 0 / 0.9001 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.308e-05/0.2432, allocations: 0 / 0.9001 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.63e-05/0.2432, allocations: 7.922 kB / 0.9001 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005056/0.2438, allocations: 59.8 kB / 0.9002 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.404e-05/0.2438, allocations: 7.984 kB / 0.9002 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.265e-05/0.2439, allocations: 3.984 kB / 0.9002 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.375e-05/0.244, allocations: 3.938 kB / 0.9002 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.449e-05/0.244, allocations: 8 kB / 0.9002 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.2441, allocations: 0 / 0.9002 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005653/0.2446, allocations: 183.6 kB / 0.9004 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.2447, allocations: 4 kB / 0.9004 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.784e-05/0.2447, allocations: 25.7 kB / 0.9004 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.245, allocations: 47.94 kB / 0.9005 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.245, allocations: 0 / 0.9005 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.355e-06/0.245, allocations: 0 / 0.9005 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.245, allocations: 0 / 0.9005 GB, free: 63.83 MB / 0.6042 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.0005881/0.2456, allocations: 339.5 kB / 0.9008 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.2457, allocations: 12.03 kB / 0.9008 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.2458, allocations: 0 / 0.9008 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.2459, allocations: 171 kB / 0.901 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.2459, allocations: 0 / 0.901 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.246, allocations: 0 / 0.901 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.2461, allocations: 29.7 kB / 0.901 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.2461, allocations: 0 / 0.901 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.2461, allocations: 0 / 0.901 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.2462, allocations: 0 / 0.901 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.568e-05/0.2462, allocations: 15.98 kB / 0.901 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001867/0.2464, allocations: 149.7 kB / 0.9011 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.193e-05/0.2465, allocations: 34.48 kB / 0.9012 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.2466, allocations: 0 / 0.9012 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.2466, allocations: 30.56 kB / 0.9012 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 2.244e-06/0.2466, allocations: 0 / 0.9012 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001998/0.2469, allocations: 45.86 kB / 0.9012 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.2469, allocations: 51.41 kB / 0.9013 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.412e-05/0.247, allocations: 97.84 kB / 0.9014 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.247, allocations: 25.7 kB / 0.9014 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.59e-05/0.2471, allocations: 80.14 kB / 0.9015 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.432e-05/0.2471, allocations: 11.84 kB / 0.9015 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.8e-06/0.2472, allocations: 3.938 kB / 0.9015 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.718e-05/0.2473, allocations: 318.7 kB / 0.9018 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.461e-05/0.2473, allocations: 8.156 kB / 0.9018 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.981e-05/0.2473, allocations: 0 / 0.9018 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.241e-05/0.2474, allocations: 8 kB / 0.9018 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2474, allocations: 0 / 0.9018 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001232/0.2475, allocations: 37.69 kB / 0.9019 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.2476, allocations: 4 kB / 0.9019 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.2476, allocations: 0 / 0.9019 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.2476, allocations: 4 kB / 0.9019 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003267/0.248, allocations: 15.92 kB / 0.9019 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004423/0.2485, allocations: 0.5861 MB / 0.9025 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.561e-05/0.2485, allocations: 7.859 kB / 0.9025 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.2486, allocations: 0 / 0.9025 GB, free: 61.54 MB / 0.6042 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 0.0001154/0.2487, allocations: 117.9 kB / 0.9026 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.684e-05/0.2487, allocations: 0 / 0.9026 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001808/0.2489, allocations: 52.91 kB / 0.9026 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.2489, allocations: 0 / 0.9026 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.249, allocations: 0 / 0.9026 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.249, allocations: 0 / 0.9026 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.2491, allocations: 153.6 kB / 0.9028 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.2492, allocations: 3.938 kB / 0.9028 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.2494, allocations: 8 kB / 0.9028 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.2494, allocations: 0 / 0.9028 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.2494, allocations: 0 / 0.9028 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003858/0.2498, allocations: 0.5938 MB / 0.9034 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.2498, allocations: 0 / 0.9034 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.25, allocations: 65.11 kB / 0.9034 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.418e-05/0.25, allocations: 81.09 kB / 0.9035 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.2501, allocations: 0 / 0.9035 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.656e-05/0.2501, allocations: 0 / 0.9035 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.053e-05/0.2502, allocations: 12.08 kB / 0.9035 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.2502, allocations: 0 / 0.9035 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.574e-05/0.2502, allocations: 75.28 kB / 0.9036 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.51e-07/0.2503, allocations: 0 / 0.9036 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004963/0.2508, allocations: 8 kB / 0.9036 GB, free: 60.25 MB / 0.6042 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.0002489/0.251, allocations: 119.2 kB / 0.9037 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003723/0.2514, allocations: 24.94 kB / 0.9037 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.2515, allocations: 0 / 0.9037 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.2517, allocations: 19.92 kB / 0.9037 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/0.2519, allocations: 0 / 0.9037 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004333/0.2524, allocations: 111.1 kB / 0.9039 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/0.2526, allocations: 0.677 MB / 0.9045 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.224e-05/0.2526, allocations: 4.125 kB / 0.9045 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.25e-05/0.2527, allocations: 7.438 kB / 0.9045 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of SimCode: time 1.092e-06/0.2527, allocations: 0 / 0.9045 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of Templates: time 0.004461/0.2572, allocations: 426.6 kB / 0.9049 GB, free: 58.85 MB / 0.6042 GB