Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.608/1.608, allocations: 288.4 MB / 303.4 MB, free: 8.152 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.001127/0.001127, allocations: 184.4 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 205.4 MB / 0.6307 GB, free: 9.977 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.0008232/0.0008233, allocations: 90.88 kB / 0.7441 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005412/0.0005413, allocations: 11.06 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2542, allocations: 115.3 MB / 0.9796 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001513/0.2558, allocations: 0.9718 MB / 0.9805 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001/0.2568, allocations: 0.5386 MB / 0.9811 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.477e-05/0.2569, allocations: 0 / 0.9811 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.486e-05/0.2569, allocations: 0 / 0.9811 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.553e-05/0.257, allocations: 3.984 kB / 0.9811 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006557/0.2577, allocations: 117.7 kB / 0.9812 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.201e-05/0.2577, allocations: 11.94 kB / 0.9812 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.228e-05/0.2578, allocations: 3.984 kB / 0.9812 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.335e-05/0.2578, allocations: 7.938 kB / 0.9812 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.164e-05/0.2579, allocations: 4 kB / 0.9812 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.2579, allocations: 0 / 0.9812 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005859/0.2585, allocations: 339.3 kB / 0.9815 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.857e-06/0.2585, allocations: 0 / 0.9815 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.453e-05/0.2586, allocations: 29.7 kB / 0.9816 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.2588, allocations: 92.05 kB / 0.9816 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2588, allocations: 0 / 0.9816 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2588, allocations: 0 / 0.9816 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.2588, allocations: 0 / 0.9816 GB, free: 25.52 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.0003354/0.2592, allocations: 355.3 kB / 0.982 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.2592, allocations: 12.02 kB / 0.982 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.849e-05/0.2592, allocations: 3.984 kB / 0.982 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.2594, allocations: 166.9 kB / 0.9822 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.2594, allocations: 4 kB / 0.9822 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.2594, allocations: 0 / 0.9822 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.2595, allocations: 37.64 kB / 0.9822 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.2595, allocations: 0 / 0.9822 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.2596, allocations: 0 / 0.9822 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2596, allocations: 4 kB / 0.9822 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.253e-05/0.2596, allocations: 7.984 kB / 0.9822 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001434/0.2598, allocations: 149.6 kB / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.041e-05/0.2598, allocations: 22.61 kB / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2e-05/0.2599, allocations: 8.844 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.2599, allocations: 4.062 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.2599, allocations: 42.5 kB / 0.9824 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.784e-06/0.2599, allocations: 3.984 kB / 0.9824 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001424/0.2601, allocations: 33.7 kB / 0.9825 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.2601, allocations: 51.41 kB / 0.9825 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.574e-05/0.2602, allocations: 101.8 kB / 0.9826 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.2602, allocations: 25.7 kB / 0.9826 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.697e-05/0.2602, allocations: 88.02 kB / 0.9827 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.2603, allocations: 3.906 kB / 0.9827 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/0.2603, allocations: 8.25 kB / 0.9827 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.059e-05/0.2603, allocations: 310.8 kB / 0.983 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.448e-05/0.2603, allocations: 4 kB / 0.983 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.151e-05/0.2604, allocations: 4 kB / 0.983 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.73e-05/0.2604, allocations: 3.938 kB / 0.983 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2604, allocations: 0 / 0.983 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.912e-05/0.2605, allocations: 49.64 kB / 0.9831 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.2605, allocations: 4 kB / 0.9831 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2605, allocations: 96 / 0.9831 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.2605, allocations: 4 kB / 0.9831 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.2607, allocations: 16.02 kB / 0.9831 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002945/0.261, allocations: 0.5821 MB / 0.9837 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.399e-05/0.2611, allocations: 0 / 0.9837 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.2611, allocations: 4.031 kB / 0.9837 GB, free: 23.2 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 6.403e-05/0.2612, allocations: 114.8 kB / 0.9838 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.686e-06/0.2612, allocations: 0 / 0.9838 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.2613, allocations: 44.81 kB / 0.9838 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2613, allocations: 0 / 0.9838 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2613, allocations: 0 / 0.9838 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.2613, allocations: 4 kB / 0.9838 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.557e-05/0.2614, allocations: 161.5 kB / 0.984 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2614, allocations: 0 / 0.984 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.982e-05/0.2615, allocations: 8 kB / 0.984 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.2615, allocations: 0 / 0.984 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.2616, allocations: 12.02 kB / 0.984 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000203/0.2618, allocations: 0.5821 MB / 0.9846 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2618, allocations: 3.953 kB / 0.9846 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.241e-05/0.2619, allocations: 57.17 kB / 0.9846 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.897e-05/0.2619, allocations: 85.22 kB / 0.9847 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.2619, allocations: 4 kB / 0.9847 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.85e-05/0.2619, allocations: 0 / 0.9847 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.44e-05/0.262, allocations: 0 / 0.9847 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-06/0.262, allocations: 7.891 kB / 0.9847 GB, free: 22 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.935e-05/0.262, allocations: 83.28 kB / 0.9848 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.7e-07/0.262, allocations: 3.938 kB / 0.9848 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002918/0.2623, allocations: 7.938 kB / 0.9848 GB, free: 21.91 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.0001503/0.2625, allocations: 115.3 kB / 0.9849 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001832/0.2627, allocations: 19.98 kB / 0.9849 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2627, allocations: 0 / 0.9849 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.2628, allocations: 11.98 kB / 0.985 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.263, allocations: 11.94 kB / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000319/0.2633, allocations: 111.2 kB / 0.9851 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.389e-05/0.2634, allocations: 0.6731 MB / 0.9857 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.063e-05/0.2635, allocations: 4 kB / 0.9857 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.22e-05/0.2635, allocations: 7.438 kB / 0.9857 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of SimCode: time 3.2e-07/0.2635, allocations: 0 / 0.9857 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of Templates: time 0.002648/0.2661, allocations: 424.8 kB / 0.9861 GB, free: 20.52 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)