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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.002149/0.002149, allocations: 182.2 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5624/0.5624, allocations: 91.99 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.748/1.748, allocations: 223.2 MB / 354.3 MB, free: 12.18 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 91.2 kB / 427.4 MB, free: 3.891 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003631/0.0003631, allocations: 8 kB / 0.4982 GB, free: 42.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1567, allocations: 72.31 MB / 0.5689 GB, free: 1.949 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4715/0.6283, allocations: 102 MB / 0.6685 GB, free: 2.531 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.6285, allocations: 79.94 kB / 0.6685 GB, free: 2.453 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007443/0.636, allocations: 2.309 MB / 0.6708 GB, free: 160 kB / 458.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.636, allocations: 0 / 0.6708 GB, free: 160 kB / 458.7 MB Notification: Performance of Transformations before backend: time 2.747e-05/0.6361, allocations: 0 / 0.6708 GB, free: 160 kB / 458.7 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.0003712/0.6364, allocations: 339.9 kB / 0.6711 GB, free: 15.78 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.6365, allocations: 12.03 kB / 0.6711 GB, free: 15.77 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.6365, allocations: 7.859 kB / 0.6711 GB, free: 15.76 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.6367, allocations: 167 kB / 0.6713 GB, free: 15.55 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.6367, allocations: 0 / 0.6713 GB, free: 15.55 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.6367, allocations: 3.984 kB / 0.6713 GB, free: 15.55 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.6368, allocations: 37.64 kB / 0.6713 GB, free: 15.51 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.6369, allocations: 3.938 kB / 0.6713 GB, free: 15.5 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.6369, allocations: 0 / 0.6713 GB, free: 15.5 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.6369, allocations: 3.953 kB / 0.6713 GB, free: 15.5 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.948e-05/0.6369, allocations: 8 kB / 0.6713 GB, free: 15.49 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001991/0.6371, allocations: 153.7 kB / 0.6715 GB, free: 15.29 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.324e-05/0.6372, allocations: 22.52 kB / 0.6715 GB, free: 15.26 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.6372, allocations: 0 / 0.6715 GB, free: 15.26 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.6373, allocations: 30.56 kB / 0.6715 GB, free: 15.22 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.118e-05/0.6373, allocations: 3.984 kB / 0.6715 GB, free: 15.22 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001568/0.6374, allocations: 49.75 kB / 0.6716 GB, free: 15.16 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.6375, allocations: 55.34 kB / 0.6716 GB, free: 15.1 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.479e-05/0.6376, allocations: 85 kB / 0.6717 GB, free: 15.01 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.6376, allocations: 29.7 kB / 0.6718 GB, free: 14.97 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.841e-05/0.6376, allocations: 80.14 kB / 0.6718 GB, free: 14.89 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.6377, allocations: 7.906 kB / 0.6718 GB, free: 14.88 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.6377, allocations: 0 / 0.6718 GB, free: 14.88 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.6378, allocations: 319 kB / 0.6721 GB, free: 14.56 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.393e-05/0.6378, allocations: 8 kB / 0.6721 GB, free: 14.55 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.134e-06/0.6378, allocations: 0 / 0.6721 GB, free: 14.55 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.339e-05/0.6379, allocations: 8 kB / 0.6722 GB, free: 14.55 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6379, allocations: 0 / 0.6722 GB, free: 14.55 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.734e-05/0.638, allocations: 36.77 kB / 0.6722 GB, free: 14.51 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.638, allocations: 4 kB / 0.6722 GB, free: 14.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.638, allocations: 0 / 0.6722 GB, free: 14.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.638, allocations: 4 kB / 0.6722 GB, free: 14.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.6382, allocations: 7.984 kB / 0.6722 GB, free: 14.49 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004341/0.6387, allocations: 0.5938 MB / 0.6728 GB, free: 13.88 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.946e-05/0.6387, allocations: 0 / 0.6728 GB, free: 13.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.6387, allocations: 0 / 0.6728 GB, free: 13.88 MB / 474.7 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 0.0001029/0.6388, allocations: 113.8 kB / 0.6729 GB, free: 13.75 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.6388, allocations: 7.938 kB / 0.6729 GB, free: 13.75 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.6389, allocations: 48.86 kB / 0.6729 GB, free: 13.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.639, allocations: 3.953 kB / 0.673 GB, free: 13.69 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.639, allocations: 0 / 0.673 GB, free: 13.69 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.639, allocations: 3.984 kB / 0.673 GB, free: 13.69 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.6391, allocations: 153.6 kB / 0.6731 GB, free: 13.49 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6391, allocations: 0 / 0.6731 GB, free: 13.49 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.999e-05/0.6392, allocations: 11.98 kB / 0.6731 GB, free: 13.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.6392, allocations: 0 / 0.6731 GB, free: 13.48 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.6392, allocations: 0 / 0.6731 GB, free: 13.48 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003429/0.6396, allocations: 0.5899 MB / 0.6737 GB, free: 12.86 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6396, allocations: 0 / 0.6737 GB, free: 12.86 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.6397, allocations: 73.03 kB / 0.6738 GB, free: 12.77 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.933e-05/0.6398, allocations: 77.11 kB / 0.6738 GB, free: 12.68 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.6398, allocations: 3.953 kB / 0.6738 GB, free: 12.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.645e-05/0.6398, allocations: 4.125 kB / 0.6738 GB, free: 12.67 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.262e-05/0.6399, allocations: 4 kB / 0.6738 GB, free: 12.67 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.6399, allocations: 4 kB / 0.6738 GB, free: 12.66 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.479e-05/0.6399, allocations: 79.27 kB / 0.6739 GB, free: 12.59 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6399, allocations: 0 / 0.6739 GB, free: 12.59 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002071/0.6401, allocations: 12 kB / 0.6739 GB, free: 12.57 MB / 474.7 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.0001912/0.6403, allocations: 111.2 kB / 0.674 GB, free: 12.46 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001574/0.6405, allocations: 20.09 kB / 0.6741 GB, free: 12.44 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6405, allocations: 0 / 0.6741 GB, free: 12.44 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 7.752e-05/0.6406, allocations: 15.92 kB / 0.6741 GB, free: 12.42 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001014/0.6407, allocations: 0 / 0.6741 GB, free: 12.42 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/0.6411, allocations: 107.7 kB / 0.6742 GB, free: 12.29 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.6414, allocations: 0.6811 MB / 0.6748 GB, free: 11.58 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.732e-05/0.6414, allocations: 0 / 0.6748 GB, free: 11.58 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.441e-05/0.6414, allocations: 11.44 kB / 0.6749 GB, free: 11.57 MB / 474.7 MB Notification: Performance of SimCode: time 2.11e-07/0.6414, allocations: 0 / 0.6749 GB, free: 11.57 MB / 474.7 MB Notification: Performance of Templates: time 0.002513/0.6439, allocations: 421.5 kB / 0.6753 GB, free: 11.17 MB / 474.7 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)