Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 179.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4729/0.4729, allocations: 90.81 MB / 104.5 MB, free: 9.789 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.36/1.36, allocations: 221.3 MB / 348.3 MB, free: 476 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008921/0.0008922, allocations: 91.38 kB / 421.2 MB, free: 5.504 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.284e-05/3.285e-05, allocations: 7.984 kB / 0.4896 GB, free: 5.371 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3781, allocations: 72.3 MB / 0.5602 GB, free: 40.46 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1294/0.5075, allocations: 103.1 MB / 0.6609 GB, free: 1.273 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/0.5079, allocations: 87.94 kB / 0.661 GB, free: 1.188 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01261/0.5205, allocations: 4.325 MB / 0.6652 GB, free: 12.88 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5205, allocations: 0 / 0.6652 GB, free: 12.88 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.5206, allocations: 4 kB / 0.6652 GB, free: 12.88 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004544/0.521, allocations: 370.2 kB / 0.6655 GB, free: 12.47 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.5211, allocations: 11.98 kB / 0.6656 GB, free: 12.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.441e-05/0.5211, allocations: 15.86 kB / 0.6656 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.5213, allocations: 164 kB / 0.6657 GB, free: 12.24 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/0.5213, allocations: 11.98 kB / 0.6657 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.5213, allocations: 8 kB / 0.6657 GB, free: 12.22 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.5215, allocations: 65.62 kB / 0.6658 GB, free: 12.15 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.5215, allocations: 0 / 0.6658 GB, free: 12.15 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.5216, allocations: 0 / 0.6658 GB, free: 12.15 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.5216, allocations: 7.953 kB / 0.6658 GB, free: 12.14 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.974e-05/0.5217, allocations: 31.98 kB / 0.6658 GB, free: 12.11 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006284/0.5223, allocations: 328.6 kB / 0.6662 GB, free: 11.74 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.5224, allocations: 66.52 kB / 0.6662 GB, free: 11.67 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.867e-05/0.5225, allocations: 23.39 kB / 0.6662 GB, free: 11.64 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.5225, allocations: 4 kB / 0.6662 GB, free: 11.64 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.5226, allocations: 30.56 kB / 0.6663 GB, free: 11.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.773e-06/0.5226, allocations: 0 / 0.6663 GB, free: 11.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.001064/0.5236, allocations: 0.5665 MB / 0.6668 GB, free: 10.95 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.5237, allocations: 55.41 kB / 0.6669 GB, free: 10.88 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.88e-05/0.5238, allocations: 100.9 kB / 0.667 GB, free: 10.77 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.5238, allocations: 29.7 kB / 0.667 GB, free: 10.74 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.151e-05/0.5238, allocations: 96.03 kB / 0.6671 GB, free: 10.64 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.5239, allocations: 31.47 kB / 0.6671 GB, free: 10.61 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/0.5239, allocations: 0 / 0.6671 GB, free: 10.61 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.524, allocations: 322.8 kB / 0.6674 GB, free: 10.29 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.603e-05/0.5241, allocations: 20.56 kB / 0.6675 GB, free: 10.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.078e-05/0.5241, allocations: 21.88 kB / 0.6675 GB, free: 10.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.093e-05/0.5242, allocations: 36.11 kB / 0.6675 GB, free: 10.21 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5242, allocations: 3.953 kB / 0.6675 GB, free: 10.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001486/0.5243, allocations: 89.69 kB / 0.6676 GB, free: 10.11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.5244, allocations: 11.92 kB / 0.6676 GB, free: 10.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.5244, allocations: 2.438 kB / 0.6676 GB, free: 10.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.5244, allocations: 0 / 0.6676 GB, free: 10.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.5246, allocations: 31.92 kB / 0.6676 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.5246, allocations: 0 / 0.6676 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.618e-05/0.5247, allocations: 12 kB / 0.6677 GB, free: 10.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.5247, allocations: 4 kB / 0.6677 GB, free: 10.05 MB / 490.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 7.85e-05/0.5248, allocations: 113 kB / 0.6678 GB, free: 9.938 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.5248, allocations: 7.859 kB / 0.6678 GB, free: 9.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002172/0.525, allocations: 110.3 kB / 0.6679 GB, free: 9.82 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.525, allocations: 4 kB / 0.6679 GB, free: 9.816 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.525, allocations: 0 / 0.6679 GB, free: 9.816 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5251, allocations: 0 / 0.6679 GB, free: 9.816 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003972/0.5255, allocations: 366.5 kB / 0.6682 GB, free: 9.402 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.5255, allocations: 4 kB / 0.6682 GB, free: 9.398 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.5256, allocations: 31.92 kB / 0.6683 GB, free: 9.367 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.5257, allocations: 4 kB / 0.6683 GB, free: 9.363 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.5257, allocations: 5.125 kB / 0.6683 GB, free: 9.359 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.5257, allocations: 0 / 0.6683 GB, free: 9.359 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5257, allocations: 0 / 0.6683 GB, free: 9.359 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003016/0.526, allocations: 234.7 kB / 0.6685 GB, free: 9.117 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.526, allocations: 81.02 kB / 0.6686 GB, free: 9.02 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.5261, allocations: 8.031 kB / 0.6686 GB, free: 9.012 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.5262, allocations: 4 kB / 0.6686 GB, free: 9.008 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-05/0.5262, allocations: 7.984 kB / 0.6686 GB, free: 9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.5262, allocations: 4 kB / 0.6686 GB, free: 8.996 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.846e-05/0.5263, allocations: 83.28 kB / 0.6687 GB, free: 8.914 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5263, allocations: 0 / 0.6687 GB, free: 8.914 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002726/0.5266, allocations: 47.98 kB / 0.6687 GB, free: 8.867 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002106/0.5268, allocations: 141.5 kB / 0.6689 GB, free: 8.719 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001466/0.5269, allocations: 63.94 kB / 0.6689 GB, free: 8.656 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.43e-05/0.527, allocations: 7.938 kB / 0.6689 GB, free: 8.648 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.84e-05/0.527, allocations: 32 kB / 0.669 GB, free: 8.617 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.5272, allocations: 14.75 kB / 0.669 GB, free: 8.605 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004605/0.5277, allocations: 237.9 kB / 0.6692 GB, free: 8.348 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.5279, allocations: 0.6965 MB / 0.6699 GB, free: 7.625 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.075e-05/0.528, allocations: 16.66 kB / 0.6699 GB, free: 7.609 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.005e-05/0.528, allocations: 11.44 kB / 0.6699 GB, free: 7.598 MB / 490.7 MB Notification: Performance of SimCode: time 3.51e-07/0.528, allocations: 5.781 kB / 0.6699 GB, free: 7.594 MB / 490.7 MB Notification: Performance of Templates: time 0.003183/0.5312, allocations: 1.029 MB / 0.6709 GB, free: 6.613 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)