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.0008246/0.0008246, allocations: 88.17 kB / 15.7 MB, free: 460 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.0008727/0.0008728, allocations: 175.6 kB / 16.58 MB, free: 6.852 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.352/1.352, allocations: 223.3 MB / 240.6 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7536/0.7536, allocations: 115.5 MB / 407.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003123/0.0003124, allocations: 8 kB / 495.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.139, allocations: 77.52 MB / 0.5593 GB, free: 9.426 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00131/0.1404, allocations: 0.969 MB / 0.5603 GB, free: 8.445 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008548/0.1413, allocations: 0.5416 MB / 0.5608 GB, free: 7.902 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.614e-05/0.1413, allocations: 0 / 0.5608 GB, free: 7.902 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.122e-05/0.1413, allocations: 0 / 0.5608 GB, free: 7.902 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.25e-05/0.1414, allocations: 0 / 0.5608 GB, free: 7.902 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004599/0.1418, allocations: 119.6 kB / 0.5609 GB, free: 7.785 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.974e-05/0.1419, allocations: 7.938 kB / 0.5609 GB, free: 7.777 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.36e-05/0.1419, allocations: 4 kB / 0.5609 GB, free: 7.773 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.822e-05/0.1419, allocations: 3.984 kB / 0.5609 GB, free: 7.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.43e-05/0.142, allocations: 11.94 kB / 0.5609 GB, free: 7.758 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.142, allocations: 0 / 0.5609 GB, free: 7.758 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004905/0.1425, allocations: 335.3 kB / 0.5613 GB, free: 7.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.043e-05/0.1425, allocations: 0 / 0.5613 GB, free: 7.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.1426, allocations: 25.7 kB / 0.5613 GB, free: 7.398 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.1428, allocations: 100.1 kB / 0.5614 GB, free: 7.301 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1428, allocations: 0 / 0.5614 GB, free: 7.301 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1428, allocations: 4 kB / 0.5614 GB, free: 7.297 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.1428, allocations: 0 / 0.5614 GB, free: 7.297 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.0003763/0.1432, allocations: 347.2 kB / 0.5617 GB, free: 6.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.1432, allocations: 8.031 kB / 0.5617 GB, free: 6.902 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.995e-05/0.1433, allocations: 0 / 0.5617 GB, free: 6.902 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.1434, allocations: 163.1 kB / 0.5619 GB, free: 6.703 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.1434, allocations: 4 kB / 0.5619 GB, free: 6.699 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.1434, allocations: 4 kB / 0.5619 GB, free: 6.695 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.846e-05/0.1435, allocations: 37.66 kB / 0.5619 GB, free: 6.652 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1435, allocations: 0 / 0.5619 GB, free: 6.652 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.1435, allocations: 0 / 0.5619 GB, free: 6.652 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.1436, allocations: 3.938 kB / 0.5619 GB, free: 6.648 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.839e-05/0.1436, allocations: 7.984 kB / 0.5619 GB, free: 6.641 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/0.1438, allocations: 145.7 kB / 0.5621 GB, free: 6.449 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.267e-05/0.1438, allocations: 22.61 kB / 0.5621 GB, free: 6.418 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.359e-05/0.1438, allocations: 12.86 kB / 0.5621 GB, free: 6.402 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.1439, allocations: 3.984 kB / 0.5621 GB, free: 6.398 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.1439, allocations: 38.58 kB / 0.5621 GB, free: 6.352 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1439, allocations: 0 / 0.5621 GB, free: 6.352 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001328/0.144, allocations: 45.55 kB / 0.5622 GB, free: 6.301 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.1441, allocations: 51.41 kB / 0.5622 GB, free: 6.238 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.758e-05/0.1442, allocations: 97.84 kB / 0.5623 GB, free: 6.133 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.1442, allocations: 33.89 kB / 0.5624 GB, free: 6.094 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.935e-05/0.1442, allocations: 80.14 kB / 0.5624 GB, free: 6.012 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.1442, allocations: 3.906 kB / 0.5624 GB, free: 6.008 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-06/0.1443, allocations: 0 / 0.5624 GB, free: 6.008 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.703e-05/0.1444, allocations: 318.8 kB / 0.5627 GB, free: 5.688 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.327e-05/0.1444, allocations: 0 / 0.5627 GB, free: 5.688 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.918e-06/0.1444, allocations: 4 kB / 0.5628 GB, free: 5.684 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.522e-05/0.1444, allocations: 0 / 0.5628 GB, free: 5.684 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1444, allocations: 0 / 0.5628 GB, free: 5.684 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.806e-05/0.1445, allocations: 49.69 kB / 0.5628 GB, free: 5.629 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1445, allocations: 8 kB / 0.5628 GB, free: 5.621 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.1445, allocations: 3.953 kB / 0.5628 GB, free: 5.617 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.1445, allocations: 0 / 0.5628 GB, free: 5.617 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.1447, allocations: 15.92 kB / 0.5628 GB, free: 5.602 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003623/0.1451, allocations: 0.5782 MB / 0.5634 GB, free: 5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.356e-05/0.1451, allocations: 4.125 kB / 0.5634 GB, free: 4.996 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.1452, allocations: 4 kB / 0.5634 GB, free: 4.992 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 8.054e-05/0.1452, allocations: 113.8 kB / 0.5635 GB, free: 4.871 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.105e-06/0.1453, allocations: 3.938 kB / 0.5635 GB, free: 4.867 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.1454, allocations: 44.81 kB / 0.5636 GB, free: 4.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1454, allocations: 0 / 0.5636 GB, free: 4.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1454, allocations: 0 / 0.5636 GB, free: 4.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1454, allocations: 0 / 0.5636 GB, free: 4.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.1455, allocations: 157.7 kB / 0.5637 GB, free: 4.617 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1455, allocations: 3.953 kB / 0.5637 GB, free: 4.613 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.9e-05/0.1456, allocations: 12.03 kB / 0.5637 GB, free: 4.602 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.1456, allocations: 3.984 kB / 0.5637 GB, free: 4.598 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.1456, allocations: 0 / 0.5637 GB, free: 4.598 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003149/0.1459, allocations: 0.5937 MB / 0.5643 GB, free: 3.98 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.146, allocations: 0 / 0.5643 GB, free: 3.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.565e-05/0.146, allocations: 65.22 kB / 0.5644 GB, free: 3.898 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.1461, allocations: 81.09 kB / 0.5644 GB, free: 3.801 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.1461, allocations: 4 kB / 0.5644 GB, free: 3.797 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.741e-05/0.1461, allocations: 4 kB / 0.5645 GB, free: 3.793 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.366e-05/0.1462, allocations: 0 / 0.5645 GB, free: 3.793 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.1462, allocations: 0 / 0.5645 GB, free: 3.793 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.787e-05/0.1462, allocations: 79.28 kB / 0.5645 GB, free: 3.715 MB / 430.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1462, allocations: 4.125 kB / 0.5645 GB, free: 3.711 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000199/0.1464, allocations: 8 kB / 0.5645 GB, free: 3.703 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.0001579/0.1466, allocations: 115.1 kB / 0.5646 GB, free: 3.578 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001562/0.1467, allocations: 15.98 kB / 0.5647 GB, free: 3.562 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.1468, allocations: 4 kB / 0.5647 GB, free: 3.559 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.09e-05/0.1468, allocations: 19.92 kB / 0.5647 GB, free: 3.539 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.147, allocations: 4.078 kB / 0.5647 GB, free: 3.535 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000334/0.1474, allocations: 111.2 kB / 0.5648 GB, free: 3.402 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.1476, allocations: 0.677 MB / 0.5655 GB, free: 2.699 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.975e-05/0.1477, allocations: 3.906 kB / 0.5655 GB, free: 2.695 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.446e-05/0.1477, allocations: 11.38 kB / 0.5655 GB, free: 2.684 MB / 430.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1477, allocations: 0 / 0.5655 GB, free: 2.684 MB / 430.1 MB Notification: Performance of Templates: time 0.002497/0.1502, allocations: 424.8 kB / 0.5659 GB, free: 2.293 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)