Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001113/0.001113, allocations: 99.55 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.001351/0.001351, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 223.2 MB / 239.9 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9626/0.9626, allocations: 143.3 MB / 434.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003099/0.00031, allocations: 8 kB / 0.5158 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1462, allocations: 83.4 MB / 0.5973 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001147/0.1474, allocations: 0.9628 MB / 0.5982 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005088/0.1479, allocations: 335.1 kB / 0.5985 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.729e-05/0.1479, allocations: 0 / 0.5985 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.353e-05/0.1479, allocations: 0 / 0.5985 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.157e-05/0.148, allocations: 0 / 0.5985 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002931/0.1483, allocations: 67.78 kB / 0.5986 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.784e-05/0.1483, allocations: 7.984 kB / 0.5986 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.644e-05/0.1484, allocations: 3.984 kB / 0.5986 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.858e-05/0.1484, allocations: 7.938 kB / 0.5986 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.647e-05/0.1484, allocations: 4 kB / 0.5986 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.486e-06/0.1485, allocations: 4 kB / 0.5986 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002766/0.1487, allocations: 183.6 kB / 0.5988 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.414e-06/0.1488, allocations: 4 kB / 0.5988 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.027e-05/0.1488, allocations: 25.7 kB / 0.5988 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.1489, allocations: 52.17 kB / 0.5989 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.1489, allocations: 0 / 0.5989 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1489, allocations: 0 / 0.5989 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.1489, allocations: 0 / 0.5989 GB, free: 6.176 MB / 0.4981 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.0003003/0.1492, allocations: 327.4 kB / 0.5992 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.1493, allocations: 12.03 kB / 0.5992 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.518e-05/0.1493, allocations: 3.953 kB / 0.5992 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.1494, allocations: 167 kB / 0.5994 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.1494, allocations: 4 kB / 0.5994 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.1494, allocations: 0 / 0.5994 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.693e-05/0.1495, allocations: 37.64 kB / 0.5994 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.1495, allocations: 4 kB / 0.5994 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.1495, allocations: 0 / 0.5994 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1496, allocations: 0 / 0.5994 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.225e-05/0.1496, allocations: 4 kB / 0.5994 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001378/0.1497, allocations: 161.5 kB / 0.5996 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.249e-05/0.1498, allocations: 22.61 kB / 0.5996 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.1498, allocations: 0 / 0.5996 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.1498, allocations: 34.5 kB / 0.5996 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.1498, allocations: 0 / 0.5996 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001179/0.15, allocations: 41.84 kB / 0.5997 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.15, allocations: 59.44 kB / 0.5997 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.354e-05/0.1501, allocations: 93.86 kB / 0.5998 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.1501, allocations: 25.7 kB / 0.5998 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.747e-05/0.1501, allocations: 80.14 kB / 0.5999 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.1501, allocations: 15.83 kB / 0.5999 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-06/0.1502, allocations: 0 / 0.5999 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.26e-05/0.1503, allocations: 314.8 kB / 0.6002 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.106e-05/0.1503, allocations: 4.125 kB / 0.6002 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.899e-06/0.1503, allocations: 11.94 kB / 0.6002 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.206e-05/0.1503, allocations: 4 kB / 0.6002 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1503, allocations: 3.938 kB / 0.6003 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.707e-05/0.1504, allocations: 37.69 kB / 0.6003 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.1504, allocations: 5.875 kB / 0.6003 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1504, allocations: 0 / 0.6003 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.1504, allocations: 0 / 0.6003 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.1506, allocations: 8 kB / 0.6003 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003267/0.1509, allocations: 0.5939 MB / 0.6009 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.091e-05/0.1509, allocations: 4.031 kB / 0.6009 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.151, allocations: 3.938 kB / 0.6009 GB, free: 3.887 MB / 0.4981 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 6.99e-05/0.151, allocations: 105.8 kB / 0.601 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.723e-06/0.151, allocations: 0 / 0.601 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.395e-05/0.1511, allocations: 48.91 kB / 0.601 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1512, allocations: 4 kB / 0.601 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1512, allocations: 3.953 kB / 0.601 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1512, allocations: 3.984 kB / 0.601 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.1513, allocations: 153.7 kB / 0.6012 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1513, allocations: 4 kB / 0.6012 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.639e-05/0.1514, allocations: 4 kB / 0.6012 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1514, allocations: 4 kB / 0.6012 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-06/0.1514, allocations: 0 / 0.6012 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002802/0.1517, allocations: 0.5937 MB / 0.6018 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1517, allocations: 3.984 kB / 0.6018 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.177e-05/0.1518, allocations: 57.17 kB / 0.6018 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.066e-05/0.1518, allocations: 81.11 kB / 0.6019 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.1518, allocations: 3.953 kB / 0.6019 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.905e-05/0.1518, allocations: 8.109 kB / 0.6019 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.489e-05/0.1519, allocations: 0 / 0.6019 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-06/0.1519, allocations: 0 / 0.6019 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.741e-05/0.1519, allocations: 79.28 kB / 0.602 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.343e-06/0.1519, allocations: 3.938 kB / 0.602 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001953/0.1521, allocations: 11.94 kB / 0.602 GB, free: 2.602 MB / 0.4981 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.0001497/0.1523, allocations: 119.2 kB / 0.6021 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001526/0.1524, allocations: 20.08 kB / 0.6022 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1524, allocations: 0 / 0.6022 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.173e-05/0.1525, allocations: 15.98 kB / 0.6022 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.718e-05/0.1526, allocations: 3.938 kB / 0.6022 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002612/0.1529, allocations: 107.2 kB / 0.6023 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.1531, allocations: 0.6811 MB / 0.6029 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.481e-05/0.1532, allocations: 0 / 0.6029 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.077e-05/0.1532, allocations: 7.438 kB / 0.6029 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1532, allocations: 0 / 0.6029 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of Templates: time 0.002207/0.1554, allocations: 416.4 kB / 0.6033 GB, free: 1.211 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) Environment - environmentSimulation: