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.000897/0.000897, allocations: 97.2 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009425/0.0009425, allocations: 177.8 kB / 16.57 MB, free: 6.398 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.286/1.286, allocations: 223.2 MB / 240.5 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6486/0.6486, allocations: 113.8 MB / 405.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002876/0.0002876, allocations: 12 kB / 493.1 MB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1363, allocations: 77.15 MB / 0.5568 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001254/0.1376, allocations: 0.9472 MB / 0.5578 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005643/0.1382, allocations: 333.3 kB / 0.5581 GB, free: 10.35 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.011e-05/0.1382, allocations: 0 / 0.5581 GB, free: 10.35 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.471e-05/0.1382, allocations: 3.984 kB / 0.5581 GB, free: 10.35 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.029e-05/0.1383, allocations: 0 / 0.5581 GB, free: 10.35 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003412/0.1386, allocations: 63.78 kB / 0.5581 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.745e-05/0.1387, allocations: 7.984 kB / 0.5582 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.627e-05/0.1387, allocations: 4 kB / 0.5582 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.978e-05/0.1387, allocations: 3.984 kB / 0.5582 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.043e-05/0.1388, allocations: 11.94 kB / 0.5582 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.1388, allocations: 0 / 0.5582 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002928/0.1391, allocations: 171.8 kB / 0.5583 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.021e-05/0.1391, allocations: 11.86 kB / 0.5584 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.531e-05/0.1392, allocations: 33.64 kB / 0.5584 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.1393, allocations: 48.17 kB / 0.5584 GB, free: 9.992 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.1393, allocations: 0 / 0.5584 GB, free: 9.992 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1393, allocations: 0 / 0.5584 GB, free: 9.992 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.1393, allocations: 4 kB / 0.5584 GB, free: 9.988 MB / 430.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.0003061/0.1396, allocations: 329.1 kB / 0.5587 GB, free: 9.621 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.1397, allocations: 20.02 kB / 0.5588 GB, free: 9.602 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.493e-05/0.1397, allocations: 0 / 0.5588 GB, free: 9.602 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.1398, allocations: 167 kB / 0.5589 GB, free: 9.398 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.136e-06/0.1398, allocations: 0 / 0.5589 GB, free: 9.398 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.1398, allocations: 0 / 0.5589 GB, free: 9.398 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.929e-05/0.1399, allocations: 33.66 kB / 0.559 GB, free: 9.359 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.1399, allocations: 0 / 0.559 GB, free: 9.359 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.1399, allocations: 0 / 0.559 GB, free: 9.359 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.14, allocations: 4 kB / 0.559 GB, free: 9.355 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.3e-05/0.14, allocations: 7.938 kB / 0.559 GB, free: 9.348 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001467/0.1401, allocations: 153.7 kB / 0.5591 GB, free: 9.148 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.4e-05/0.1402, allocations: 22.61 kB / 0.5591 GB, free: 9.117 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.1402, allocations: 0 / 0.5591 GB, free: 9.117 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.1402, allocations: 34.62 kB / 0.5592 GB, free: 9.074 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1403, allocations: 0 / 0.5592 GB, free: 9.074 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001373/0.1404, allocations: 57.48 kB / 0.5592 GB, free: 9.012 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.1404, allocations: 51.41 kB / 0.5593 GB, free: 8.949 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.832e-05/0.1405, allocations: 93.86 kB / 0.5594 GB, free: 8.848 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.1405, allocations: 25.7 kB / 0.5594 GB, free: 8.816 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.642e-05/0.1406, allocations: 80.14 kB / 0.5595 GB, free: 8.734 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.1406, allocations: 0 / 0.5595 GB, free: 8.734 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-06/0.1406, allocations: 0 / 0.5595 GB, free: 8.734 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1407, allocations: 322.8 kB / 0.5598 GB, free: 8.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.929e-06/0.1407, allocations: 8.188 kB / 0.5598 GB, free: 8.402 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.985e-06/0.1407, allocations: 4 kB / 0.5598 GB, free: 8.398 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.457e-05/0.1407, allocations: 0 / 0.5598 GB, free: 8.398 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1407, allocations: 0 / 0.5598 GB, free: 8.398 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.04e-05/0.1408, allocations: 45.55 kB / 0.5598 GB, free: 8.348 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.1408, allocations: 8 kB / 0.5598 GB, free: 8.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1408, allocations: 0 / 0.5598 GB, free: 8.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1409, allocations: 7.938 kB / 0.5598 GB, free: 8.332 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.141, allocations: 8 kB / 0.5599 GB, free: 8.324 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003348/0.1414, allocations: 0.5822 MB / 0.5604 GB, free: 7.719 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.783e-05/0.1414, allocations: 0 / 0.5604 GB, free: 7.719 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.1414, allocations: 0 / 0.5604 GB, free: 7.719 MB / 430.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 (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.639e-05/0.1415, allocations: 117.8 kB / 0.5605 GB, free: 7.594 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-06/0.1415, allocations: 3.953 kB / 0.5605 GB, free: 7.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.1416, allocations: 48.86 kB / 0.5606 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1416, allocations: 3.984 kB / 0.5606 GB, free: 7.531 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1416, allocations: 0 / 0.5606 GB, free: 7.531 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1416, allocations: 0 / 0.5606 GB, free: 7.531 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.1418, allocations: 149.7 kB / 0.5607 GB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.1418, allocations: 4 kB / 0.5607 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.142e-05/0.1418, allocations: 15.94 kB / 0.5607 GB, free: 7.316 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1419, allocations: 0 / 0.5607 GB, free: 7.316 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.1419, allocations: 0 / 0.5607 GB, free: 7.316 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003216/0.1422, allocations: 0.5899 MB / 0.5613 GB, free: 6.703 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.1422, allocations: 3.938 kB / 0.5613 GB, free: 6.699 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.951e-05/0.1423, allocations: 65.11 kB / 0.5614 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.021e-05/0.1423, allocations: 77.11 kB / 0.5615 GB, free: 6.523 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.1424, allocations: 4 kB / 0.5615 GB, free: 6.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.709e-05/0.1424, allocations: 8.125 kB / 0.5615 GB, free: 6.512 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.512e-05/0.1424, allocations: 0 / 0.5615 GB, free: 6.512 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.1424, allocations: 3.984 kB / 0.5615 GB, free: 6.508 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.074e-05/0.1424, allocations: 79.28 kB / 0.5616 GB, free: 6.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1424, allocations: 0 / 0.5616 GB, free: 6.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002116/0.1427, allocations: 4 kB / 0.5616 GB, free: 6.426 MB / 430.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 (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.0001698/0.1428, allocations: 119.8 kB / 0.5617 GB, free: 6.297 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001623/0.143, allocations: 27.95 kB / 0.5617 GB, free: 6.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.143, allocations: 4 kB / 0.5617 GB, free: 6.266 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.518e-05/0.1431, allocations: 12 kB / 0.5617 GB, free: 6.254 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.174e-05/0.1432, allocations: 3.953 kB / 0.5617 GB, free: 6.25 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000271/0.1435, allocations: 108.2 kB / 0.5618 GB, free: 6.121 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.1439, allocations: 0.6811 MB / 0.5625 GB, free: 5.414 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.452e-05/0.1439, allocations: 0 / 0.5625 GB, free: 5.414 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.395e-05/0.1439, allocations: 11.44 kB / 0.5625 GB, free: 5.402 MB / 430.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1439, allocations: 0 / 0.5625 GB, free: 5.402 MB / 430.1 MB Notification: Performance of Templates: time 0.002341/0.1463, allocations: 404.4 kB / 0.5629 GB, free: 5.02 MB / 430.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)