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.0009682/0.0009682, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001312/0.001312, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.596/1.596, allocations: 252 MB / 0.5102 GB, free: 4.828 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.0008964/0.0008965, allocations: 16 kB / 0.6243 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5398/0.5407, allocations: 106.3 MB / 0.7281 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00125/0.542, allocations: 0.976 MB / 0.7291 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008136/0.5428, allocations: 0.5327 MB / 0.7296 GB, free: 9.887 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.805e-05/0.5428, allocations: 4 kB / 0.7296 GB, free: 9.883 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.168e-05/0.5429, allocations: 0 / 0.7296 GB, free: 9.883 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.114e-05/0.5429, allocations: 7.922 kB / 0.7296 GB, free: 9.875 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004136/0.5433, allocations: 122.7 kB / 0.7297 GB, free: 9.758 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.006e-05/0.5434, allocations: 4 kB / 0.7297 GB, free: 9.754 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.337e-05/0.5434, allocations: 4 kB / 0.7297 GB, free: 9.75 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.865e-05/0.5435, allocations: 3.938 kB / 0.7297 GB, free: 9.746 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.529e-05/0.5435, allocations: 7.984 kB / 0.7298 GB, free: 9.738 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.5435, allocations: 0 / 0.7298 GB, free: 9.738 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004558/0.544, allocations: 343.2 kB / 0.7301 GB, free: 9.402 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.085e-06/0.544, allocations: 0 / 0.7301 GB, free: 9.402 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.196e-05/0.544, allocations: 25.7 kB / 0.7301 GB, free: 9.371 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.5442, allocations: 101.8 kB / 0.7302 GB, free: 9.273 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.5442, allocations: 0 / 0.7302 GB, free: 9.273 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5442, allocations: 0 / 0.7302 GB, free: 9.273 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.5442, allocations: 0 / 0.7302 GB, free: 9.273 MB / 0.545 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.0003647/0.5446, allocations: 343.3 kB / 0.7305 GB, free: 8.891 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.5447, allocations: 12.03 kB / 0.7305 GB, free: 8.879 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.5447, allocations: 0 / 0.7305 GB, free: 8.879 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.5448, allocations: 167 kB / 0.7307 GB, free: 8.676 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.5448, allocations: 0 / 0.7307 GB, free: 8.676 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-06/0.5449, allocations: 8 kB / 0.7307 GB, free: 8.668 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.575e-05/0.545, allocations: 29.64 kB / 0.7307 GB, free: 8.633 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.545, allocations: 4 kB / 0.7307 GB, free: 8.629 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.545, allocations: 4 kB / 0.7307 GB, free: 8.625 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.545, allocations: 0 / 0.7307 GB, free: 8.625 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.623e-05/0.545, allocations: 0 / 0.7307 GB, free: 8.625 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001627/0.5452, allocations: 153.6 kB / 0.7309 GB, free: 8.426 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.111e-05/0.5453, allocations: 26.67 kB / 0.7309 GB, free: 8.391 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.972e-05/0.5453, allocations: 12.8 kB / 0.7309 GB, free: 8.375 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.5453, allocations: 0 / 0.7309 GB, free: 8.375 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.5454, allocations: 38.56 kB / 0.731 GB, free: 8.328 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 2.344e-06/0.5454, allocations: 0 / 0.731 GB, free: 8.328 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001444/0.5455, allocations: 49.56 kB / 0.731 GB, free: 8.273 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.5456, allocations: 51.41 kB / 0.7311 GB, free: 8.211 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.87e-05/0.5456, allocations: 102 kB / 0.7312 GB, free: 8.102 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.5457, allocations: 25.7 kB / 0.7312 GB, free: 8.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.75e-05/0.5457, allocations: 80.14 kB / 0.7313 GB, free: 7.988 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.5457, allocations: 11.83 kB / 0.7313 GB, free: 7.977 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-06/0.5457, allocations: 0 / 0.7313 GB, free: 7.977 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.5458, allocations: 314.8 kB / 0.7316 GB, free: 7.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.147e-05/0.5459, allocations: 3.938 kB / 0.7316 GB, free: 7.656 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.137e-06/0.5459, allocations: 8 kB / 0.7316 GB, free: 7.648 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.56e-05/0.5459, allocations: 4.141 kB / 0.7316 GB, free: 7.645 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5459, allocations: 4 kB / 0.7316 GB, free: 7.641 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.657e-05/0.546, allocations: 37.69 kB / 0.7316 GB, free: 7.598 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.546, allocations: 8 kB / 0.7316 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.546, allocations: 0 / 0.7316 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.546, allocations: 0 / 0.7316 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.5462, allocations: 8 kB / 0.7316 GB, free: 7.582 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003516/0.5465, allocations: 0.6015 MB / 0.7322 GB, free: 6.957 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.907e-05/0.5466, allocations: 3.953 kB / 0.7322 GB, free: 6.953 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.5466, allocations: 0 / 0.7322 GB, free: 6.953 MB / 0.545 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.646e-05/0.5466, allocations: 109.9 kB / 0.7323 GB, free: 6.836 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.142e-06/0.5467, allocations: 0 / 0.7323 GB, free: 6.836 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.5468, allocations: 44.81 kB / 0.7324 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.5468, allocations: 0 / 0.7324 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.5468, allocations: 0 / 0.7324 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.5468, allocations: 4.094 kB / 0.7324 GB, free: 6.781 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.5469, allocations: 153.6 kB / 0.7325 GB, free: 6.582 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5469, allocations: 3.984 kB / 0.7325 GB, free: 6.578 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.714e-05/0.547, allocations: 11.94 kB / 0.7325 GB, free: 6.566 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.547, allocations: 0 / 0.7325 GB, free: 6.566 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.547, allocations: 0 / 0.7325 GB, free: 6.566 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002811/0.5473, allocations: 0.5899 MB / 0.7331 GB, free: 5.953 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5473, allocations: 96 / 0.7331 GB, free: 5.953 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.453e-05/0.5474, allocations: 65.12 kB / 0.7332 GB, free: 5.871 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.925e-05/0.5474, allocations: 85 kB / 0.7333 GB, free: 5.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.5474, allocations: 3.938 kB / 0.7333 GB, free: 5.766 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.336e-05/0.5475, allocations: 3.938 kB / 0.7333 GB, free: 5.762 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/0.5475, allocations: 11.94 kB / 0.7333 GB, free: 5.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.5475, allocations: 0 / 0.7333 GB, free: 5.75 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.004e-05/0.5475, allocations: 79.31 kB / 0.7334 GB, free: 5.672 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5475, allocations: 0 / 0.7334 GB, free: 5.672 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001906/0.5477, allocations: 16 kB / 0.7334 GB, free: 5.656 MB / 0.545 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.0001633/0.5479, allocations: 111.2 kB / 0.7335 GB, free: 5.535 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001505/0.548, allocations: 19.98 kB / 0.7335 GB, free: 5.516 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5481, allocations: 0 / 0.7335 GB, free: 5.516 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.291e-05/0.5481, allocations: 8.156 kB / 0.7335 GB, free: 5.508 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.5483, allocations: 16.05 kB / 0.7335 GB, free: 5.492 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002985/0.5486, allocations: 99.17 kB / 0.7336 GB, free: 5.371 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.5489, allocations: 0.6731 MB / 0.7343 GB, free: 4.672 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.563e-05/0.5489, allocations: 0 / 0.7343 GB, free: 4.672 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.219e-05/0.5489, allocations: 11.44 kB / 0.7343 GB, free: 4.66 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.5489, allocations: 4 kB / 0.7343 GB, free: 4.656 MB / 0.545 GB Notification: Performance of Templates: time 0.002226/0.5512, allocations: 424.4 kB / 0.7347 GB, free: 4.273 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: