Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002318/0.002318, allocations: 183.6 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.5212/0.5212, allocations: 91.99 MB / 108.5 MB, free: 13.05 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.881/1.881, 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.001351/0.001351, allocations: 96.27 kB / 427.4 MB, free: 3.949 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004359/0.000436, allocations: 8 kB / 0.4982 GB, free: 42.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1677, allocations: 72.32 MB / 0.5689 GB, free: 1.945 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5702/0.7379, allocations: 102.2 MB / 0.6687 GB, free: 2.301 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.7382, allocations: 79.95 kB / 0.6688 GB, free: 2.223 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008692/0.7469, allocations: 2.878 MB / 0.6716 GB, free: 15.35 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.7469, allocations: 0 / 0.6716 GB, free: 15.35 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.7469, allocations: 0 / 0.6716 GB, free: 15.35 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004135/0.7474, allocations: 351.8 kB / 0.6719 GB, free: 14.96 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.7474, allocations: 12.03 kB / 0.6719 GB, free: 14.95 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.7475, allocations: 7.984 kB / 0.672 GB, free: 14.94 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.7476, allocations: 159.1 kB / 0.6721 GB, free: 14.75 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.7476, allocations: 0 / 0.6721 GB, free: 14.75 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.7476, allocations: 11.94 kB / 0.6721 GB, free: 14.73 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.7478, allocations: 33.69 kB / 0.6721 GB, free: 14.7 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.7478, allocations: 0 / 0.6721 GB, free: 14.7 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.7478, allocations: 8 kB / 0.6722 GB, free: 14.69 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.7478, allocations: 3.953 kB / 0.6722 GB, free: 14.68 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.66e-05/0.7479, allocations: 7.938 kB / 0.6722 GB, free: 14.68 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001943/0.7481, allocations: 161.7 kB / 0.6723 GB, free: 14.47 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.7483, allocations: 42.61 kB / 0.6724 GB, free: 14.42 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.7483, allocations: 4.078 kB / 0.6724 GB, free: 14.41 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.7484, allocations: 30.56 kB / 0.6724 GB, free: 14.38 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.7484, allocations: 0 / 0.6724 GB, free: 14.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007053/0.7491, allocations: 314.1 kB / 0.6727 GB, free: 14.02 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.7491, allocations: 59.36 kB / 0.6727 GB, free: 13.95 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.278e-05/0.7492, allocations: 93.31 kB / 0.6728 GB, free: 13.85 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.7492, allocations: 25.7 kB / 0.6729 GB, free: 13.82 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.11e-05/0.7493, allocations: 84.14 kB / 0.6729 GB, free: 13.73 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.7493, allocations: 11.81 kB / 0.673 GB, free: 13.72 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.7493, allocations: 0 / 0.673 GB, free: 13.72 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.7495, allocations: 314.8 kB / 0.6733 GB, free: 13.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.741e-05/0.7495, allocations: 15.98 kB / 0.6733 GB, free: 13.39 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.007e-05/0.7495, allocations: 8 kB / 0.6733 GB, free: 13.38 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.624e-05/0.7496, allocations: 20.92 kB / 0.6733 GB, free: 13.36 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.7496, allocations: 3.938 kB / 0.6733 GB, free: 13.36 MB / 474.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.855e-05/0.7497, allocations: 65.59 kB / 0.6734 GB, free: 13.29 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.7497, allocations: 4 kB / 0.6734 GB, free: 13.28 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.7498, allocations: 0 / 0.6734 GB, free: 13.28 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.7498, allocations: 0 / 0.6734 GB, free: 13.28 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.025e-05/0.7498, allocations: 19.92 kB / 0.6734 GB, free: 13.26 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.7499, allocations: 240 / 0.6734 GB, free: 13.26 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.384e-05/0.7499, allocations: 16.14 kB / 0.6734 GB, free: 13.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.7499, allocations: 3.984 kB / 0.6734 GB, free: 13.25 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.574e-05/0.75, allocations: 109.8 kB / 0.6735 GB, free: 13.13 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.163e-05/0.75, allocations: 3.984 kB / 0.6735 GB, free: 13.12 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001582/0.7502, allocations: 77.58 kB / 0.6736 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.7502, allocations: 4 kB / 0.6736 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.7502, allocations: 0 / 0.6736 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.7502, allocations: 3.938 kB / 0.6736 GB, free: 13.03 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003609/0.7506, allocations: 311.4 kB / 0.6739 GB, free: 12.67 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.7506, allocations: 0 / 0.6739 GB, free: 12.67 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.942e-05/0.7507, allocations: 19.92 kB / 0.6739 GB, free: 12.65 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.7507, allocations: 0 / 0.6739 GB, free: 12.65 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.7507, allocations: 0 / 0.6739 GB, free: 12.65 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.7507, allocations: 0 / 0.6739 GB, free: 12.65 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.7507, allocations: 7.953 kB / 0.6739 GB, free: 12.64 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.751, allocations: 186.1 kB / 0.6741 GB, free: 12.43 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.208e-05/0.751, allocations: 89.12 kB / 0.6742 GB, free: 12.33 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.751, allocations: 0 / 0.6742 GB, free: 12.33 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.763e-05/0.7511, allocations: 4.359 kB / 0.6742 GB, free: 12.32 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.25e-05/0.7511, allocations: 11.92 kB / 0.6742 GB, free: 12.31 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.7512, allocations: 0 / 0.6742 GB, free: 12.31 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.175e-05/0.7512, allocations: 83.28 kB / 0.6743 GB, free: 12.23 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7512, allocations: 64 / 0.6743 GB, free: 12.23 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002662/0.7515, allocations: 31.94 kB / 0.6743 GB, free: 12.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002194/0.7517, allocations: 127.2 kB / 0.6744 GB, free: 12.07 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001065/0.7518, allocations: 32.17 kB / 0.6745 GB, free: 12.04 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.7518, allocations: 0 / 0.6745 GB, free: 12.04 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.186e-05/0.7519, allocations: 27.92 kB / 0.6745 GB, free: 12.01 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.752, allocations: 0 / 0.6745 GB, free: 12.01 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004569/0.7525, allocations: 218.1 kB / 0.6747 GB, free: 11.77 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.7528, allocations: 0.6926 MB / 0.6754 GB, free: 11.05 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.603e-05/0.7529, allocations: 4 kB / 0.6754 GB, free: 11.04 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.119e-05/0.7529, allocations: 11.44 kB / 0.6754 GB, free: 11.04 MB / 474.7 MB Notification: Performance of SimCode: time 2.21e-07/0.7529, allocations: 0 / 0.6754 GB, free: 11.04 MB / 474.7 MB Notification: Performance of Templates: time 0.003001/0.7559, allocations: 0.59 MB / 0.676 GB, free: 10.48 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)