Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005965/0.005965, allocations: 106.2 kB / 15.74 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001128, allocations: 198.2 kB / 16.68 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.1 MB / 222.6 MB, free: 4.352 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.521/1.521, allocations: 251.7 MB / 0.5094 GB, free: 3.059 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 71.89 kB / 0.7258 GB, free: 9.035 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2239, allocations: 104.7 MB / 0.828 GB, free: 228 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002193/0.2262, allocations: 1.249 MB / 0.8293 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009921/0.2272, allocations: 0.5918 MB / 0.8298 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.635e-05/0.2272, allocations: 0 / 0.8298 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.002e-05/0.2272, allocations: 0 / 0.8298 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.414e-05/0.2273, allocations: 7.938 kB / 0.8298 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005277/0.2278, allocations: 135.4 kB / 0.83 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.088e-05/0.2279, allocations: 15.91 kB / 0.83 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.256e-05/0.2279, allocations: 4 kB / 0.83 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.867e-05/0.228, allocations: 4 kB / 0.83 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.238e-05/0.228, allocations: 3.938 kB / 0.83 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.228, allocations: 4 kB / 0.83 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004885/0.2285, allocations: 339.4 kB / 0.8303 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.2286, allocations: 4 kB / 0.8303 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.063e-05/0.2286, allocations: 7.938 kB / 0.8303 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.2288, allocations: 135.7 kB / 0.8305 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.2288, allocations: 4 kB / 0.8305 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2289, allocations: 0 / 0.8305 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.2289, allocations: 3.938 kB / 0.8305 GB, free: 13.71 MB / 0.6544 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.0003931/0.2293, allocations: 359.3 kB / 0.8308 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.2293, allocations: 8.031 kB / 0.8308 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.894e-05/0.2293, allocations: 0.9375 kB / 0.8308 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.2295, allocations: 168.3 kB / 0.831 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.2295, allocations: 4.375 kB / 0.831 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.822e-06/0.2295, allocations: 384 / 0.831 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.492e-05/0.2296, allocations: 34.25 kB / 0.831 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2296, allocations: 4.172 kB / 0.831 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.2296, allocations: 7.938 kB / 0.831 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2296, allocations: 0 / 0.831 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.524e-05/0.2297, allocations: 4 kB / 0.831 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001468/0.2298, allocations: 145.7 kB / 0.8312 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.045e-05/0.2299, allocations: 30.53 kB / 0.8312 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.981e-05/0.2299, allocations: 8.859 kB / 0.8312 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.2299, allocations: 8 kB / 0.8312 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.23, allocations: 34.56 kB / 0.8313 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.23, allocations: 0 / 0.8313 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001359/0.2301, allocations: 41.64 kB / 0.8313 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.2301, allocations: 55.39 kB / 0.8313 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.722e-05/0.2302, allocations: 97.8 kB / 0.8314 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.2302, allocations: 25.7 kB / 0.8315 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.537e-05/0.2303, allocations: 80.39 kB / 0.8315 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.2303, allocations: 11.91 kB / 0.8316 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.2303, allocations: 13.72 kB / 0.8316 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.2305, allocations: 310.8 kB / 0.8319 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.743e-05/0.2305, allocations: 7.984 kB / 0.8319 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.596e-06/0.2305, allocations: 0 / 0.8319 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.119e-05/0.2305, allocations: 16.86 kB / 0.8319 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2305, allocations: 4 kB / 0.8319 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.816e-05/0.2306, allocations: 37.77 kB / 0.8319 GB, free: 12 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.2306, allocations: 4 kB / 0.8319 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.2306, allocations: 3.938 kB / 0.8319 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.2307, allocations: 3.938 kB / 0.8319 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.2308, allocations: 11.98 kB / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003978/0.2312, allocations: 0.5899 MB / 0.8325 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.2313, allocations: 0 / 0.8325 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.2313, allocations: 4.125 kB / 0.8325 GB, free: 11.36 MB / 0.6544 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.865e-05/0.2314, allocations: 117 kB / 0.8326 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-06/0.2314, allocations: 4 kB / 0.8326 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.2315, allocations: 44.77 kB / 0.8327 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.2315, allocations: 0 / 0.8327 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.2315, allocations: 3.938 kB / 0.8327 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.2315, allocations: 3.984 kB / 0.8327 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.2316, allocations: 161.5 kB / 0.8328 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2316, allocations: 4.031 kB / 0.8329 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.774e-05/0.2317, allocations: 11.98 kB / 0.8329 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2317, allocations: 0 / 0.8329 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.2318, allocations: 0 / 0.8329 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002889/0.232, allocations: 0.5782 MB / 0.8334 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.2321, allocations: 3.938 kB / 0.8334 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.553e-05/0.2321, allocations: 77.12 kB / 0.8335 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-05/0.2322, allocations: 81.02 kB / 0.8336 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.2322, allocations: 0 / 0.8336 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.417e-05/0.2322, allocations: 0 / 0.8336 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.448e-05/0.2322, allocations: 3.938 kB / 0.8336 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.2322, allocations: 4 kB / 0.8336 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.556e-05/0.2323, allocations: 83.27 kB / 0.8337 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2323, allocations: 128 / 0.8337 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001929/0.2325, allocations: 12 kB / 0.8337 GB, free: 10.05 MB / 0.6544 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001685/0.2327, allocations: 115.2 kB / 0.8338 GB, free: 9.926 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001679/0.2328, allocations: 15.94 kB / 0.8338 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2329, allocations: 0 / 0.8338 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.038e-05/0.233, allocations: 15.98 kB / 0.8338 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.2331, allocations: 4 kB / 0.8338 GB, free: 9.891 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003351/0.2334, allocations: 105.1 kB / 0.8339 GB, free: 9.766 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.2337, allocations: 0.6729 MB / 0.8346 GB, free: 9.066 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.559e-05/0.2338, allocations: 4 kB / 0.8346 GB, free: 9.062 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.23e-05/0.2338, allocations: 7.438 kB / 0.8346 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.2338, allocations: 0 / 0.8346 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of Templates: time 0.002602/0.2364, allocations: 473.1 kB / 0.835 GB, free: 8.629 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)