Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001581/0.001581, allocations: 109 kB / 17.08 MB, free: 6.02 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.00175/0.00175, allocations: 195.1 kB / 18.01 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7167/0.7167, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 67.05 kB / 0.5583 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1544, allocations: 76.19 MB / 0.6327 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002374/0.1568, allocations: 1.235 MB / 0.6339 GB, free: 3.172 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009699/0.1578, allocations: 0.5802 MB / 0.6345 GB, free: 2.59 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.626e-05/0.1579, allocations: 0 / 0.6345 GB, free: 2.59 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.26e-05/0.1579, allocations: 7.938 kB / 0.6345 GB, free: 2.582 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.12e-05/0.158, allocations: 7.922 kB / 0.6345 GB, free: 2.574 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006208/0.1586, allocations: 142.8 kB / 0.6347 GB, free: 2.438 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.847e-05/0.1587, allocations: 15.92 kB / 0.6347 GB, free: 2.422 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.38e-05/0.1587, allocations: 0 / 0.6347 GB, free: 2.422 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.774e-05/0.1587, allocations: 4 kB / 0.6347 GB, free: 2.418 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.079e-05/0.1588, allocations: 4 kB / 0.6347 GB, free: 2.414 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.1588, allocations: 0 / 0.6347 GB, free: 2.414 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005042/0.1593, allocations: 351.3 kB / 0.635 GB, free: 2.07 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.203e-05/0.1593, allocations: 3.938 kB / 0.635 GB, free: 2.066 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.032e-05/0.1593, allocations: 3.984 kB / 0.635 GB, free: 2.062 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.1596, allocations: 143.6 kB / 0.6352 GB, free: 1.922 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1596, allocations: 0 / 0.6352 GB, free: 1.922 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1596, allocations: 0 / 0.6352 GB, free: 1.922 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.1596, allocations: 0 / 0.6352 GB, free: 1.922 MB / 478.1 MB 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.0003972/0.16, allocations: 347.5 kB / 0.6355 GB, free: 1.531 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1601, allocations: 12.03 kB / 0.6355 GB, free: 1.52 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.646e-05/0.1601, allocations: 0.9375 kB / 0.6355 GB, free: 1.52 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.1602, allocations: 168.3 kB / 0.6357 GB, free: 1.316 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.1603, allocations: 4.375 kB / 0.6357 GB, free: 1.312 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.427e-06/0.1603, allocations: 4.375 kB / 0.6357 GB, free: 1.309 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.182e-05/0.1604, allocations: 34.25 kB / 0.6357 GB, free: 1.27 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.1604, allocations: 192 / 0.6357 GB, free: 1.27 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1604, allocations: 3.938 kB / 0.6357 GB, free: 1.266 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1604, allocations: 0 / 0.6357 GB, free: 1.266 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.845e-05/0.1604, allocations: 7.938 kB / 0.6357 GB, free: 1.258 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001567/0.1606, allocations: 153.7 kB / 0.6359 GB, free: 1.059 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.701e-05/0.1607, allocations: 22.61 kB / 0.6359 GB, free: 1.027 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.721e-05/0.1607, allocations: 8.859 kB / 0.6359 GB, free: 1.016 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.1607, allocations: 0 / 0.6359 GB, free: 1.016 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.1607, allocations: 34.62 kB / 0.6359 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/0.1607, allocations: 0 / 0.6359 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001373/0.1609, allocations: 49.66 kB / 0.636 GB, free: 0.918 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.1609, allocations: 55.44 kB / 0.636 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.228e-05/0.161, allocations: 93.86 kB / 0.6361 GB, free: 0.75 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.161, allocations: 25.7 kB / 0.6361 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.841e-05/0.161, allocations: 80.14 kB / 0.6362 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.1611, allocations: 7.891 kB / 0.6362 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.1611, allocations: 17.72 kB / 0.6362 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1612, allocations: 314.8 kB / 0.6365 GB, free: 296 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.436e-05/0.1612, allocations: 8.125 kB / 0.6365 GB, free: 288 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.155e-06/0.1613, allocations: 7.875 kB / 0.6366 GB, free: 280 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.836e-05/0.1613, allocations: 12.86 kB / 0.6366 GB, free: 264 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1613, allocations: 4 kB / 0.6366 GB, free: 260 kB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.246e-05/0.1614, allocations: 37.64 kB / 0.6366 GB, free: 216 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1614, allocations: 10.02 kB / 0.6366 GB, free: 208 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1614, allocations: 3.938 kB / 0.6366 GB, free: 204 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.1614, allocations: 4 kB / 0.6366 GB, free: 200 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.1616, allocations: 16.09 kB / 0.6366 GB, free: 184 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003644/0.1619, allocations: 0.5782 MB / 0.6372 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.853e-05/0.162, allocations: 0 / 0.6372 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.162, allocations: 8.016 kB / 0.6372 GB, free: 15.57 MB / 494.1 MB 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 6.862e-05/0.1621, allocations: 109.8 kB / 0.6373 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-06/0.1621, allocations: 7.922 kB / 0.6373 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.1622, allocations: 48.91 kB / 0.6374 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1622, allocations: 0 / 0.6374 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1622, allocations: 4 kB / 0.6374 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1622, allocations: 0 / 0.6374 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.332e-05/0.1623, allocations: 149.6 kB / 0.6375 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.686e-06/0.1623, allocations: 4 kB / 0.6375 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.385e-05/0.1624, allocations: 7.984 kB / 0.6375 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.1624, allocations: 4 kB / 0.6375 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.1624, allocations: 0 / 0.6375 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000292/0.1627, allocations: 0.5898 MB / 0.6381 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.1628, allocations: 3.938 kB / 0.6381 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.806e-05/0.1628, allocations: 65.16 kB / 0.6382 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.824e-05/0.1629, allocations: 77.11 kB / 0.6382 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.1629, allocations: 4.125 kB / 0.6383 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.332e-05/0.1629, allocations: 4 kB / 0.6383 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.733e-05/0.1629, allocations: 7.922 kB / 0.6383 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.1629, allocations: 0 / 0.6383 GB, free: 14.37 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.146e-05/0.163, allocations: 83.28 kB / 0.6383 GB, free: 14.29 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.163, allocations: 0 / 0.6383 GB, free: 14.29 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001998/0.1632, allocations: 11.94 kB / 0.6384 GB, free: 14.27 MB / 494.1 MB 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.000161/0.1633, allocations: 111.2 kB / 0.6385 GB, free: 14.15 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001579/0.1635, allocations: 28.02 kB / 0.6385 GB, free: 14.12 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1635, allocations: 0 / 0.6385 GB, free: 14.12 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.981e-05/0.1636, allocations: 12 kB / 0.6385 GB, free: 14.11 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.1638, allocations: 7.984 kB / 0.6385 GB, free: 14.11 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003366/0.1641, allocations: 127.7 kB / 0.6386 GB, free: 13.95 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.1644, allocations: 0.6808 MB / 0.6393 GB, free: 13.24 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.624e-05/0.1644, allocations: 7.438 kB / 0.6393 GB, free: 13.23 MB / 494.1 MB Notification: Performance of SimCode: time 4e-07/0.1644, allocations: 3.938 kB / 0.6393 GB, free: 13.23 MB / 494.1 MB Notification: Performance of Templates: time 0.002087/0.1665, allocations: 0.6936 MB / 0.64 GB, free: 12.54 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)