Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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 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_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00131/0.00131, allocations: 95.88 kB / 15.68 MB, free: 488 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.001522/0.001522, allocations: 173.8 kB / 16.57 MB, free: 6.391 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.285/1.285, allocations: 223.2 MB / 240.5 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.666/0.666, allocations: 113.8 MB / 405.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000291/0.000291, allocations: 12 kB / 493 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1264, allocations: 77.15 MB / 0.5568 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001068/0.1275, allocations: 0.9511 MB / 0.5578 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004779/0.128, allocations: 301.4 kB / 0.5581 GB, free: 10.37 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.697e-05/0.128, allocations: 0 / 0.5581 GB, free: 10.37 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.034e-05/0.128, allocations: 3.938 kB / 0.5581 GB, free: 10.37 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.36e-05/0.1281, allocations: 3.984 kB / 0.5581 GB, free: 10.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.1283, allocations: 71.03 kB / 0.5581 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.799e-05/0.1284, allocations: 3.984 kB / 0.5581 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.804e-05/0.1284, allocations: 7.984 kB / 0.5581 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.479e-05/0.1285, allocations: 0 / 0.5581 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.269e-05/0.1285, allocations: 7.938 kB / 0.5581 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.298e-06/0.1285, allocations: 0 / 0.5581 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002526/0.1288, allocations: 175.8 kB / 0.5583 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.073e-05/0.1288, allocations: 7.938 kB / 0.5583 GB, free: 10.1 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.023e-05/0.1288, allocations: 25.7 kB / 0.5583 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.1289, allocations: 56.16 kB / 0.5584 GB, free: 10.01 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.1289, allocations: 0 / 0.5584 GB, free: 10.01 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.129, allocations: 0 / 0.5584 GB, free: 10.01 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.129, allocations: 0 / 0.5584 GB, free: 10.01 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.0002759/0.1292, allocations: 333.3 kB / 0.5587 GB, free: 9.641 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.1293, allocations: 16 kB / 0.5587 GB, free: 9.625 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.332e-05/0.1293, allocations: 3.938 kB / 0.5587 GB, free: 9.621 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.105e-05/0.1294, allocations: 163.1 kB / 0.5589 GB, free: 9.422 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.1294, allocations: 0 / 0.5589 GB, free: 9.422 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.291e-06/0.1294, allocations: 4 kB / 0.5589 GB, free: 9.418 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.26e-05/0.1295, allocations: 33.66 kB / 0.5589 GB, free: 9.379 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.611e-06/0.1295, allocations: 0 / 0.5589 GB, free: 9.379 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.1295, allocations: 4 kB / 0.5589 GB, free: 9.375 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1295, allocations: 0 / 0.5589 GB, free: 9.375 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.648e-05/0.1296, allocations: 11.92 kB / 0.5589 GB, free: 9.363 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001308/0.1297, allocations: 145.7 kB / 0.5591 GB, free: 9.172 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.107e-05/0.1298, allocations: 22.58 kB / 0.5591 GB, free: 9.141 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.1298, allocations: 7.984 kB / 0.5591 GB, free: 9.133 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.1298, allocations: 30.56 kB / 0.5591 GB, free: 9.094 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.1298, allocations: 0 / 0.5591 GB, free: 9.094 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001238/0.13, allocations: 53.56 kB / 0.5592 GB, free: 9.035 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.13, allocations: 51.41 kB / 0.5592 GB, free: 8.973 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.229e-05/0.13, allocations: 93.84 kB / 0.5593 GB, free: 8.871 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.1301, allocations: 29.95 kB / 0.5594 GB, free: 8.836 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.342e-05/0.1301, allocations: 84.14 kB / 0.5594 GB, free: 8.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.1301, allocations: 4 kB / 0.5594 GB, free: 8.746 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.104e-06/0.1301, allocations: 0 / 0.5594 GB, free: 8.746 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.928e-05/0.1302, allocations: 310.8 kB / 0.5597 GB, free: 8.434 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.092e-05/0.1302, allocations: 4 kB / 0.5597 GB, free: 8.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.131e-06/0.1302, allocations: 0 / 0.5597 GB, free: 8.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.709e-05/0.1303, allocations: 8 kB / 0.5597 GB, free: 8.422 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1303, allocations: 3.938 kB / 0.5598 GB, free: 8.418 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.801e-05/0.1303, allocations: 49.59 kB / 0.5598 GB, free: 8.363 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.1304, allocations: 5.562 kB / 0.5598 GB, free: 8.359 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.1304, allocations: 4 kB / 0.5598 GB, free: 8.355 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1304, allocations: 7.953 kB / 0.5598 GB, free: 8.348 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.1305, allocations: 7.984 kB / 0.5598 GB, free: 8.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002961/0.1308, allocations: 0.5821 MB / 0.5604 GB, free: 7.734 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.725e-05/0.1309, allocations: 128 / 0.5604 GB, free: 7.734 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.1309, allocations: 4 kB / 0.5604 GB, free: 7.73 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 6.384e-05/0.1309, allocations: 109.8 kB / 0.5605 GB, free: 7.613 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.097e-05/0.131, allocations: 7.984 kB / 0.5605 GB, free: 7.605 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.858e-05/0.1311, allocations: 52.69 kB / 0.5606 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1311, allocations: 0 / 0.5606 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.1311, allocations: 0 / 0.5606 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.1311, allocations: 0 / 0.5606 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.104e-05/0.1312, allocations: 149.7 kB / 0.5607 GB, free: 7.352 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1312, allocations: 4 kB / 0.5607 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.587e-05/0.1313, allocations: 11.95 kB / 0.5607 GB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1313, allocations: 0 / 0.5607 GB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-06/0.1313, allocations: 0 / 0.5607 GB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002455/0.1315, allocations: 0.5898 MB / 0.5613 GB, free: 6.723 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1315, allocations: 3.938 kB / 0.5613 GB, free: 6.719 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.462e-05/0.1316, allocations: 69.22 kB / 0.5614 GB, free: 6.633 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.69e-05/0.1316, allocations: 81.09 kB / 0.5614 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-06/0.1317, allocations: 0 / 0.5614 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.418e-05/0.1317, allocations: 0 / 0.5614 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.282e-05/0.1317, allocations: 0 / 0.5614 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.1317, allocations: 4 kB / 0.5614 GB, free: 6.531 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.861e-05/0.1317, allocations: 75.28 kB / 0.5615 GB, free: 6.457 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1317, allocations: 4.125 kB / 0.5615 GB, free: 6.453 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000188/0.1319, allocations: 8 kB / 0.5615 GB, free: 6.445 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.0001285/0.1321, allocations: 115.9 kB / 0.5616 GB, free: 6.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001469/0.1322, allocations: 23.92 kB / 0.5617 GB, free: 6.297 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1322, allocations: 0 / 0.5617 GB, free: 6.297 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.898e-05/0.1323, allocations: 15.98 kB / 0.5617 GB, free: 6.281 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.698e-05/0.1324, allocations: 8.062 kB / 0.5617 GB, free: 6.277 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002753/0.1327, allocations: 111.2 kB / 0.5618 GB, free: 6.145 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001914/0.1329, allocations: 0.677 MB / 0.5625 GB, free: 5.441 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.463e-05/0.1329, allocations: 3.938 kB / 0.5625 GB, free: 5.438 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.187e-05/0.133, allocations: 7.438 kB / 0.5625 GB, free: 5.43 MB / 430.1 MB Notification: Performance of SimCode: time 2.41e-07/0.133, allocations: 0 / 0.5625 GB, free: 5.43 MB / 430.1 MB Notification: Performance of Templates: time 0.002098/0.1351, allocations: 421.5 kB / 0.5629 GB, free: 5.035 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)