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_dp.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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.0008983/0.0008983, allocations: 177.3 kB / 15.95 MB, free: 216 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.516/1.516, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.562/1.562, allocations: 251.9 MB / 0.51 GB, free: 4.914 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.0005198/0.0005201, allocations: 12 kB / 0.6241 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5652/0.5657, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001363/0.5671, allocations: 0.9728 MB / 0.7289 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000536/0.5677, allocations: 328.6 kB / 0.7292 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.678e-05/0.5677, allocations: 0 / 0.7292 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.454e-06/0.5677, allocations: 0 / 0.7292 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.738e-05/0.5678, allocations: 0 / 0.7292 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.568, allocations: 70.41 kB / 0.7293 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.361e-05/0.5681, allocations: 11.97 kB / 0.7293 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.282e-05/0.5681, allocations: 0 / 0.7293 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.339e-05/0.5681, allocations: 7.938 kB / 0.7293 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.373e-05/0.5682, allocations: 3.938 kB / 0.7293 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.604e-06/0.5682, allocations: 0 / 0.7293 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002787/0.5685, allocations: 187.7 kB / 0.7295 GB, free: 9.863 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.704e-06/0.5685, allocations: 3.984 kB / 0.7295 GB, free: 9.859 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.014e-05/0.5685, allocations: 25.7 kB / 0.7295 GB, free: 9.828 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.5686, allocations: 53.91 kB / 0.7296 GB, free: 9.777 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.5686, allocations: 0 / 0.7296 GB, free: 9.777 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.784e-06/0.5686, allocations: 0 / 0.7296 GB, free: 9.777 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.5686, allocations: 0 / 0.7296 GB, free: 9.777 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.0004092/0.5691, allocations: 335.3 kB / 0.7299 GB, free: 9.402 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.5691, allocations: 8.031 kB / 0.7299 GB, free: 9.395 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.53e-05/0.5691, allocations: 7.984 kB / 0.7299 GB, free: 9.387 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.5693, allocations: 167 kB / 0.7301 GB, free: 9.184 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.5693, allocations: 3.984 kB / 0.7301 GB, free: 9.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.5693, allocations: 0 / 0.7301 GB, free: 9.18 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.03e-05/0.5694, allocations: 29.7 kB / 0.7301 GB, free: 9.145 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.5694, allocations: 3.938 kB / 0.7301 GB, free: 9.141 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.5694, allocations: 3.938 kB / 0.7301 GB, free: 9.137 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.5694, allocations: 0 / 0.7301 GB, free: 9.137 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.514e-05/0.5695, allocations: 7.984 kB / 0.7301 GB, free: 9.129 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.5696, allocations: 153.6 kB / 0.7303 GB, free: 8.93 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.256e-05/0.5697, allocations: 26.61 kB / 0.7303 GB, free: 8.895 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.5697, allocations: 0 / 0.7303 GB, free: 8.895 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.5697, allocations: 38.55 kB / 0.7303 GB, free: 8.848 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.183e-06/0.5697, allocations: 0 / 0.7303 GB, free: 8.848 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001424/0.5699, allocations: 45.7 kB / 0.7304 GB, free: 8.797 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.5699, allocations: 59.47 kB / 0.7304 GB, free: 8.727 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.31e-05/0.57, allocations: 89.86 kB / 0.7305 GB, free: 8.629 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.57, allocations: 25.7 kB / 0.7305 GB, free: 8.598 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.77e-05/0.5701, allocations: 88.12 kB / 0.7306 GB, free: 8.508 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.5701, allocations: 7.844 kB / 0.7306 GB, free: 8.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.5701, allocations: 4 kB / 0.7306 GB, free: 8.496 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.5703, allocations: 310.8 kB / 0.7309 GB, free: 8.184 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.055e-05/0.5703, allocations: 4 kB / 0.7309 GB, free: 8.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.131e-06/0.5703, allocations: 4.125 kB / 0.7309 GB, free: 8.176 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.43e-05/0.5703, allocations: 4 kB / 0.7309 GB, free: 8.172 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.5703, allocations: 3.953 kB / 0.7309 GB, free: 8.168 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.118e-05/0.5704, allocations: 45.62 kB / 0.731 GB, free: 8.117 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.5704, allocations: 4 kB / 0.731 GB, free: 8.113 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.5704, allocations: 0 / 0.731 GB, free: 8.113 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.5704, allocations: 0 / 0.731 GB, free: 8.113 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.5706, allocations: 8 kB / 0.731 GB, free: 8.105 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003573/0.5709, allocations: 0.5938 MB / 0.7316 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.685e-05/0.571, allocations: 0 / 0.7316 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.571, allocations: 3.953 kB / 0.7316 GB, free: 7.484 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 7.408e-05/0.5711, allocations: 105.8 kB / 0.7317 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.916e-06/0.5711, allocations: 4.031 kB / 0.7317 GB, free: 7.367 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.668e-05/0.5712, allocations: 56.84 kB / 0.7317 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.5712, allocations: 0 / 0.7317 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.5712, allocations: 0 / 0.7317 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.5712, allocations: 0 / 0.7317 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.5713, allocations: 153.6 kB / 0.7319 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.5713, allocations: 0 / 0.7319 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.086e-05/0.5714, allocations: 11.94 kB / 0.7319 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.5714, allocations: 0 / 0.7319 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.5714, allocations: 0 / 0.7319 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003291/0.5718, allocations: 0.5899 MB / 0.7325 GB, free: 6.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.5718, allocations: 3.953 kB / 0.7325 GB, free: 6.477 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.617e-05/0.5718, allocations: 61.17 kB / 0.7325 GB, free: 6.398 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.176e-05/0.5719, allocations: 81.02 kB / 0.7326 GB, free: 6.301 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.5719, allocations: 3.984 kB / 0.7326 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.581e-05/0.5719, allocations: 4 kB / 0.7326 GB, free: 6.293 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.018e-05/0.572, allocations: 8.078 kB / 0.7326 GB, free: 6.285 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.572, allocations: 4 kB / 0.7326 GB, free: 6.281 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.884e-05/0.572, allocations: 75.28 kB / 0.7327 GB, free: 6.207 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.572, allocations: 0 / 0.7327 GB, free: 6.207 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001886/0.5722, allocations: 8 kB / 0.7327 GB, free: 6.199 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.0001695/0.5724, allocations: 107.2 kB / 0.7328 GB, free: 6.082 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001562/0.5725, allocations: 27.86 kB / 0.7328 GB, free: 6.055 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.5725, allocations: 4.156 kB / 0.7329 GB, free: 6.051 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.522e-05/0.5726, allocations: 19.98 kB / 0.7329 GB, free: 6.031 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.124e-05/0.5727, allocations: 0 / 0.7329 GB, free: 6.031 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003277/0.5731, allocations: 107.1 kB / 0.733 GB, free: 5.902 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.5734, allocations: 0.677 MB / 0.7336 GB, free: 5.199 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.905e-05/0.5734, allocations: 4.062 kB / 0.7336 GB, free: 5.195 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.392e-05/0.5734, allocations: 7.438 kB / 0.7336 GB, free: 5.188 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.5734, allocations: 3.938 kB / 0.7336 GB, free: 5.184 MB / 0.545 GB Notification: Performance of Templates: time 0.002612/0.576, allocations: 413 kB / 0.734 GB, free: 4.812 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) Environment - environmentSimulation: