Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.651/1.651, allocations: 292.6 MB / 307.5 MB, free: 5.113 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.001033/0.001034, allocations: 169.1 kB / 377.1 MB, free: 1.434 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.498/1.498, allocations: 205.4 MB / 0.6367 GB, free: 9.57 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007779/0.0007779, allocations: 91.11 kB / 0.751 GB, free: 62.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003298, allocations: 20 kB / 0.8748 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2573, allocations: 116.3 MB / 0.9884 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6639/0.9212, allocations: 139.4 MB / 1.124 GB, free: 35.45 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/0.9214, allocations: 79.02 kB / 1.125 GB, free: 35.38 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.006074/0.9275, allocations: 2.27 MB / 1.127 GB, free: 33.66 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.395e-06/0.9276, allocations: 0 / 1.127 GB, free: 33.66 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.9276, allocations: 0 / 1.127 GB, free: 33.66 MB / 0.7292 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.0002378/0.9278, allocations: 342.3 kB / 1.127 GB, free: 33.29 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.9279, allocations: 12.02 kB / 1.127 GB, free: 33.28 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.953e-05/0.9279, allocations: 4.25 kB / 1.127 GB, free: 33.28 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.69e-05/0.928, allocations: 167 kB / 1.127 GB, free: 33.07 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.928, allocations: 4 kB / 1.127 GB, free: 33.07 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.928, allocations: 1.203 kB / 1.127 GB, free: 33.07 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.582e-05/0.9281, allocations: 35.64 kB / 1.127 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.9281, allocations: 0.7969 kB / 1.127 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.9281, allocations: 1.719 kB / 1.127 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.9282, allocations: 0 / 1.127 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.448e-05/0.9282, allocations: 7.938 kB / 1.127 GB, free: 33.03 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001166/0.9283, allocations: 153.6 kB / 1.127 GB, free: 32.83 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.074e-05/0.9284, allocations: 30.61 kB / 1.127 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.9284, allocations: 2.531 kB / 1.128 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.513e-05/0.9284, allocations: 30.56 kB / 1.128 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.103e-06/0.9284, allocations: 0 / 1.128 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001223/0.9285, allocations: 52.92 kB / 1.128 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/0.9286, allocations: 51.41 kB / 1.128 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.868e-05/0.9286, allocations: 89.12 kB / 1.128 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.815e-06/0.9286, allocations: 25.7 kB / 1.128 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.833e-05/0.9286, allocations: 84.14 kB / 1.128 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.9287, allocations: 0.625 kB / 1.128 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-06/0.9287, allocations: 0.5625 kB / 1.128 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.282e-05/0.9287, allocations: 318.3 kB / 1.128 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.038e-05/0.9288, allocations: 4 kB / 1.128 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.102e-06/0.9288, allocations: 0 / 1.128 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.567e-05/0.9288, allocations: 8.188 kB / 1.128 GB, free: 32.1 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.9288, allocations: 0 / 1.128 GB, free: 32.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.964e-05/0.9289, allocations: 53.72 kB / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.9289, allocations: 4.625 kB / 1.128 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.9289, allocations: 3.938 kB / 1.128 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.9289, allocations: 0 / 1.128 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.929, allocations: 8.5 kB / 1.128 GB, free: 32.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002254/0.9293, allocations: 0.589 MB / 1.129 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.837e-05/0.9293, allocations: 0 / 1.129 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.9293, allocations: 0.5625 kB / 1.129 GB, free: 31.43 MB / 0.7292 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 4.766e-05/0.9294, allocations: 109.8 kB / 1.129 GB, free: 31.31 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.043e-06/0.9294, allocations: 4.562 kB / 1.129 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.331e-05/0.9295, allocations: 48.94 kB / 1.129 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.9295, allocations: 0 / 1.129 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.9295, allocations: 128 / 1.129 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.9295, allocations: 4 kB / 1.129 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.129e-05/0.9296, allocations: 157.6 kB / 1.129 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.9296, allocations: 0 / 1.129 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.723e-05/0.9297, allocations: 11.56 kB / 1.129 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.9297, allocations: 1.906 kB / 1.129 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.9297, allocations: 0 / 1.129 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001704/0.9299, allocations: 0.5863 MB / 1.13 GB, free: 30.44 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.9299, allocations: 8.047 kB / 1.13 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.394e-05/0.9299, allocations: 65.53 kB / 1.13 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.584e-05/0.93, allocations: 77.11 kB / 1.13 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.93, allocations: 0 / 1.13 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.598e-05/0.93, allocations: 4.812 kB / 1.13 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.18e-05/0.93, allocations: 3.656 kB / 1.13 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.93, allocations: 7.953 kB / 1.13 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.527e-05/0.93, allocations: 79.31 kB / 1.13 GB, free: 30.17 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.21e-07/0.93, allocations: 0.9375 kB / 1.13 GB, free: 30.17 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001916/0.9302, allocations: 12 kB / 1.13 GB, free: 30.16 MB / 0.7292 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.0001525/0.9304, allocations: 110.6 kB / 1.13 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001396/0.9305, allocations: 23.45 kB / 1.13 GB, free: 30.03 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.9306, allocations: 0 / 1.13 GB, free: 30.03 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.951e-05/0.9306, allocations: 19.66 kB / 1.13 GB, free: 30.01 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.969e-05/0.9307, allocations: 4.656 kB / 1.13 GB, free: 30.01 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003009/0.9311, allocations: 96.59 kB / 1.13 GB, free: 29.9 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.9312, allocations: 0.6767 MB / 1.131 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.428e-05/0.9312, allocations: 4 kB / 1.131 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.095e-05/0.9312, allocations: 11.5 kB / 1.131 GB, free: 29.19 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/0.9312, allocations: 0 / 1.131 GB, free: 29.19 MB / 0.7292 GB Notification: Performance of Templates: time 0.002209/0.9334, allocations: 412 kB / 1.131 GB, free: 28.95 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)