Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.114/3.114, allocations: 287.3 MB / 302.3 MB, free: 8.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001567/0.001567, allocations: 186.8 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.459/2.459, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001095/0.001094, allocations: 97.05 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007254/0.0007258, allocations: 12.12 kB / 0.8656 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2396, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002039/0.2417, allocations: 0.9687 MB / 0.9791 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000888/0.2427, allocations: 297 kB / 0.9794 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.194e-05/0.2428, allocations: 0 / 0.9794 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.635e-05/0.2428, allocations: 0 / 0.9794 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.793e-05/0.2429, allocations: 0 / 0.9794 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004932/0.2434, allocations: 59.8 kB / 0.9795 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.497e-05/0.2435, allocations: 7.984 kB / 0.9795 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.841e-05/0.2435, allocations: 7.938 kB / 0.9795 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.754e-05/0.2436, allocations: 11.92 kB / 0.9795 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.718e-05/0.2436, allocations: 0 / 0.9795 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.2437, allocations: 0 / 0.9795 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005108/0.2442, allocations: 183.6 kB / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.113e-05/0.2442, allocations: 0 / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.2443, allocations: 25.7 kB / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.2445, allocations: 56.16 kB / 0.9797 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2446, allocations: 0 / 0.9797 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.255e-06/0.2446, allocations: 0 / 0.9797 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.2446, allocations: 0 / 0.9797 GB, free: 26.77 MB / 0.6198 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.0004018/0.245, allocations: 331.4 kB / 0.9801 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.2451, allocations: 12.02 kB / 0.9801 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.2451, allocations: 11.97 kB / 0.9801 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.2453, allocations: 166.9 kB / 0.9802 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.2453, allocations: 0 / 0.9802 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.2453, allocations: 0 / 0.9802 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.2455, allocations: 33.64 kB / 0.9803 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.2455, allocations: 0 / 0.9803 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.2455, allocations: 4 kB / 0.9803 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.2455, allocations: 0 / 0.9803 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.88e-05/0.2456, allocations: 7.984 kB / 0.9803 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001898/0.2458, allocations: 157.6 kB / 0.9804 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.529e-05/0.2459, allocations: 26.58 kB / 0.9805 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.246, allocations: 0 / 0.9805 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.246, allocations: 38.48 kB / 0.9805 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.324e-06/0.246, allocations: 8.062 kB / 0.9805 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001903/0.2462, allocations: 37.7 kB / 0.9805 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.2463, allocations: 51.41 kB / 0.9806 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.675e-05/0.2464, allocations: 93.86 kB / 0.9807 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.2464, allocations: 25.7 kB / 0.9807 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.12e-05/0.2464, allocations: 84.12 kB / 0.9808 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.2465, allocations: 3.906 kB / 0.9808 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-06/0.2465, allocations: 4.25 kB / 0.9808 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.183e-05/0.2466, allocations: 314.8 kB / 0.9811 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.204e-05/0.2466, allocations: 4 kB / 0.9811 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.841e-05/0.2467, allocations: 0 / 0.9811 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.158e-05/0.2467, allocations: 7.938 kB / 0.9811 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.2467, allocations: 3.953 kB / 0.9811 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001137/0.2469, allocations: 41.69 kB / 0.9812 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.2469, allocations: 4 kB / 0.9812 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.2469, allocations: 4 kB / 0.9812 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.247, allocations: 8.031 kB / 0.9812 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/0.2473, allocations: 8 kB / 0.9812 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004186/0.2477, allocations: 0.5899 MB / 0.9818 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.778e-05/0.2478, allocations: 0 / 0.9818 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.2478, allocations: 3.953 kB / 0.9818 GB, free: 24.48 MB / 0.6198 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 9.45e-05/0.2479, allocations: 110 kB / 0.9819 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/0.248, allocations: 4 kB / 0.9819 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001619/0.2481, allocations: 52.8 kB / 0.9819 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.2482, allocations: 0 / 0.9819 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.2482, allocations: 0 / 0.9819 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.2482, allocations: 0 / 0.9819 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.2483, allocations: 157.5 kB / 0.9821 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2484, allocations: 0 / 0.9821 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.2486, allocations: 9 kB / 0.9821 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.892e-06/0.2486, allocations: 0 / 0.9821 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.2486, allocations: 4.031 kB / 0.9821 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003607/0.249, allocations: 0.5898 MB / 0.9827 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.249, allocations: 7.984 kB / 0.9827 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.2492, allocations: 57.14 kB / 0.9827 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.082e-05/0.2492, allocations: 81.23 kB / 0.9828 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.2493, allocations: 3.984 kB / 0.9828 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.196e-05/0.2493, allocations: 4 kB / 0.9828 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.039e-05/0.2494, allocations: 7.953 kB / 0.9828 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.2494, allocations: 0 / 0.9828 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.425e-05/0.2494, allocations: 79.22 kB / 0.9829 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.61e-07/0.2494, allocations: 0 / 0.9829 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004389/0.2499, allocations: 15.94 kB / 0.9829 GB, free: 23.18 MB / 0.6198 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.000239/0.2502, allocations: 115.3 kB / 0.983 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00033/0.2505, allocations: 19.98 kB / 0.983 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.2505, allocations: 0 / 0.983 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001917/0.2507, allocations: 15.98 kB / 0.983 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.2509, allocations: 3.938 kB / 0.983 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004316/0.2514, allocations: 111 kB / 0.9832 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001536/0.2516, allocations: 0.6809 MB / 0.9838 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.941e-05/0.2516, allocations: 0 / 0.9838 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.203e-05/0.2516, allocations: 7.438 kB / 0.9838 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of SimCode: time 1.122e-06/0.2517, allocations: 3.938 kB / 0.9838 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of Templates: time 0.004462/0.2561, allocations: 423.2 kB / 0.9842 GB, free: 21.79 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)