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.001392/0.001393, allocations: 181.5 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.5164/0.5164, allocations: 91.99 MB / 108.5 MB, free: 13.09 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.614/1.614, allocations: 223.2 MB / 354.3 MB, free: 10.36 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.001052/0.001052, allocations: 88.3 kB / 427.4 MB, free: 2.098 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003539/0.0003539, allocations: 8 kB / 0.4983 GB, free: 42.05 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1814, allocations: 72.31 MB / 0.5689 GB, free: 1.672 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6133/0.7947, allocations: 103.1 MB / 0.6696 GB, free: 1.266 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.795, allocations: 87.94 kB / 0.6697 GB, free: 1.18 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01309/0.8081, allocations: 4.326 MB / 0.6739 GB, free: 12.87 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.8081, allocations: 3.938 kB / 0.6739 GB, free: 12.86 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.974e-06/0.8082, allocations: 0 / 0.6739 GB, free: 12.86 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005797/0.8087, allocations: 375.7 kB / 0.6742 GB, free: 12.45 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.8088, allocations: 12.03 kB / 0.6743 GB, free: 12.44 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.91e-05/0.8089, allocations: 7.859 kB / 0.6743 GB, free: 12.43 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.809, allocations: 167 kB / 0.6744 GB, free: 12.23 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.809, allocations: 12 kB / 0.6744 GB, free: 12.21 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.8091, allocations: 11.98 kB / 0.6744 GB, free: 12.2 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.8093, allocations: 79.91 kB / 0.6745 GB, free: 12.12 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.8094, allocations: 0 / 0.6745 GB, free: 12.12 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.8094, allocations: 0 / 0.6745 GB, free: 12.12 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.8094, allocations: 7.953 kB / 0.6745 GB, free: 12.11 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002431/0.8096, allocations: 59.89 kB / 0.6746 GB, free: 12.05 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006796/0.8103, allocations: 324.7 kB / 0.6749 GB, free: 11.69 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003053/0.8107, allocations: 98.42 kB / 0.675 GB, free: 11.58 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.8107, allocations: 0 / 0.675 GB, free: 11.58 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.8107, allocations: 38.5 kB / 0.675 GB, free: 11.54 MB / 474.7 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.8108, allocations: 0 / 0.675 GB, free: 11.54 MB / 474.7 MB Notification: Performance of matching and sorting (n=11): time 0.001836/0.8126, allocations: 0.6675 MB / 0.6757 GB, free: 10.78 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.8127, allocations: 55.41 kB / 0.6757 GB, free: 10.71 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.749e-05/0.8128, allocations: 101 kB / 0.6758 GB, free: 10.61 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.436e-05/0.8128, allocations: 29.7 kB / 0.6759 GB, free: 10.57 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.378e-05/0.8129, allocations: 88.05 kB / 0.6759 GB, free: 10.48 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.946e-05/0.8129, allocations: 35.55 kB / 0.676 GB, free: 10.45 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-06/0.8129, allocations: 7.938 kB / 0.676 GB, free: 10.44 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.8131, allocations: 318.8 kB / 0.6763 GB, free: 10.12 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.8132, allocations: 31.97 kB / 0.6763 GB, free: 10.09 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.8134, allocations: 43.92 kB / 0.6764 GB, free: 10.04 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.8135, allocations: 32.11 kB / 0.6764 GB, free: 10.01 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.8135, allocations: 0 / 0.6764 GB, free: 10.01 MB / 474.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003391/0.8139, allocations: 136.3 kB / 0.6765 GB, free: 9.875 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.8139, allocations: 8 kB / 0.6765 GB, free: 9.867 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.8139, allocations: 3.984 kB / 0.6765 GB, free: 9.863 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.8139, allocations: 0 / 0.6765 GB, free: 9.863 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.8141, allocations: 27.98 kB / 0.6766 GB, free: 9.836 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.8141, allocations: 0 / 0.6766 GB, free: 9.836 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.795e-05/0.8142, allocations: 8 kB / 0.6766 GB, free: 9.828 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.8142, allocations: 4 kB / 0.6766 GB, free: 9.824 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 (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 0.0001168/0.8143, allocations: 125.8 kB / 0.6767 GB, free: 9.691 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/0.8144, allocations: 3.953 kB / 0.6767 GB, free: 9.688 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004247/0.8148, allocations: 141.4 kB / 0.6768 GB, free: 9.539 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.8148, allocations: 0 / 0.6768 GB, free: 9.539 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.8148, allocations: 0 / 0.6768 GB, free: 9.539 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.8149, allocations: 7.984 kB / 0.6768 GB, free: 9.531 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006454/0.8155, allocations: 400.9 kB / 0.6772 GB, free: 9.086 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.8155, allocations: 0 / 0.6772 GB, free: 9.086 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.8157, allocations: 27.98 kB / 0.6772 GB, free: 9.059 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.8157, allocations: 4 kB / 0.6772 GB, free: 9.055 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.8157, allocations: 7.984 kB / 0.6773 GB, free: 9.047 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.8157, allocations: 0 / 0.6773 GB, free: 9.047 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.8157, allocations: 0 / 0.6773 GB, free: 9.047 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005178/0.8163, allocations: 267.3 kB / 0.6775 GB, free: 8.77 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.319e-05/0.8163, allocations: 77.11 kB / 0.6776 GB, free: 8.676 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.8164, allocations: 3.938 kB / 0.6776 GB, free: 8.672 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.8165, allocations: 12.03 kB / 0.6776 GB, free: 8.66 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.407e-05/0.8165, allocations: 7.984 kB / 0.6776 GB, free: 8.652 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.8165, allocations: 7.938 kB / 0.6776 GB, free: 8.645 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.927e-05/0.8166, allocations: 87.27 kB / 0.6777 GB, free: 8.559 MB / 474.7 MB Notification: Performance of sort global known variables: time 1e-07/0.8166, allocations: 4.062 kB / 0.6777 GB, free: 8.555 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002956/0.8169, allocations: 36 kB / 0.6777 GB, free: 8.52 MB / 474.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 () * Number of clocked 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.0002857/0.8172, allocations: 143.1 kB / 0.6779 GB, free: 8.371 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003831/0.8176, allocations: 87.95 kB / 0.678 GB, free: 8.285 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.8176, allocations: 4 kB / 0.678 GB, free: 8.281 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.8178, allocations: 51.91 kB / 0.678 GB, free: 8.23 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.818, allocations: 7.953 kB / 0.678 GB, free: 8.223 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008587/0.8189, allocations: 375 kB / 0.6784 GB, free: 7.828 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/0.8194, allocations: 0.6965 MB / 0.6791 GB, free: 7.105 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 9.206e-05/0.8195, allocations: 16.66 kB / 0.6791 GB, free: 7.09 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.8195, allocations: 15.42 kB / 0.6791 GB, free: 7.074 MB / 474.7 MB Notification: Performance of SimCode: time 5.41e-07/0.8195, allocations: 0 / 0.6791 GB, free: 7.074 MB / 474.7 MB Notification: Performance of Templates: time 0.004206/0.8237, allocations: 1.018 MB / 0.6801 GB, free: 6.094 MB / 474.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)