Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009374/0.0009374, allocations: 96.89 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009819/0.0009819, allocations: 175.5 kB / 16.57 MB, free: 6.855 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 223.2 MB / 240.5 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7608/0.7608, allocations: 113.8 MB / 405.4 MB, free: 4.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003013/0.0003013, allocations: 16 kB / 493.1 MB, free: 8.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1364, allocations: 77.16 MB / 0.5569 GB, free: 11.56 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001206/0.1377, allocations: 0.9706 MB / 0.5578 GB, free: 10.58 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006281/0.1383, allocations: 353.2 kB / 0.5581 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.033e-05/0.1383, allocations: 0 / 0.5581 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.136e-05/0.1384, allocations: 0 / 0.5581 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.465e-05/0.1384, allocations: 7.984 kB / 0.5581 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003371/0.1387, allocations: 75.77 kB / 0.5582 GB, free: 10.15 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.692e-05/0.1388, allocations: 15.98 kB / 0.5582 GB, free: 10.14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.237e-05/0.1388, allocations: 7.984 kB / 0.5582 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.568e-05/0.1389, allocations: 7.938 kB / 0.5582 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.453e-05/0.1389, allocations: 19.91 kB / 0.5583 GB, free: 10.1 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.139, allocations: 4 kB / 0.5583 GB, free: 10.1 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002817/0.1392, allocations: 179.7 kB / 0.5584 GB, free: 9.922 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.036e-05/0.1393, allocations: 3.984 kB / 0.5584 GB, free: 9.918 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.11e-05/0.1393, allocations: 41.64 kB / 0.5585 GB, free: 9.871 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.1394, allocations: 52.16 kB / 0.5585 GB, free: 9.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.1394, allocations: 0 / 0.5585 GB, free: 9.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1394, allocations: 0 / 0.5585 GB, free: 9.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.1395, allocations: 0 / 0.5585 GB, free: 9.82 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003416/0.1398, allocations: 343.3 kB / 0.5589 GB, free: 9.438 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.1398, allocations: 16.02 kB / 0.5589 GB, free: 9.422 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.284e-05/0.1399, allocations: 3.906 kB / 0.5589 GB, free: 9.418 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.14, allocations: 167.1 kB / 0.559 GB, free: 9.215 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.14, allocations: 8 kB / 0.559 GB, free: 9.207 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.14, allocations: 4 kB / 0.5591 GB, free: 9.203 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.1402, allocations: 45.64 kB / 0.5591 GB, free: 9.152 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.1402, allocations: 11.94 kB / 0.5591 GB, free: 9.141 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1402, allocations: 0 / 0.5591 GB, free: 9.141 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.1402, allocations: 3.938 kB / 0.5591 GB, free: 9.137 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.051e-05/0.1403, allocations: 19.98 kB / 0.5591 GB, free: 9.117 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001871/0.1405, allocations: 173.6 kB / 0.5593 GB, free: 8.898 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.1406, allocations: 62.55 kB / 0.5594 GB, free: 8.828 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.1406, allocations: 0 / 0.5594 GB, free: 8.828 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.1407, allocations: 34.56 kB / 0.5594 GB, free: 8.785 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 2.565e-06/0.1407, allocations: 0 / 0.5594 GB, free: 8.785 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.001063/0.1417, allocations: 0.5878 MB / 0.56 GB, free: 8.105 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.1418, allocations: 59.34 kB / 0.56 GB, free: 8.035 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.172e-05/0.1419, allocations: 97.84 kB / 0.5601 GB, free: 7.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.1419, allocations: 29.7 kB / 0.5601 GB, free: 7.895 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.036e-05/0.1419, allocations: 80.14 kB / 0.5602 GB, free: 7.812 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/0.142, allocations: 31.47 kB / 0.5602 GB, free: 7.781 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-06/0.142, allocations: 4 kB / 0.5603 GB, free: 7.777 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1421, allocations: 323 kB / 0.5606 GB, free: 7.453 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.093e-05/0.1422, allocations: 23.98 kB / 0.5606 GB, free: 7.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.89e-05/0.1422, allocations: 16 kB / 0.5606 GB, free: 7.414 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.734e-05/0.1423, allocations: 31.88 kB / 0.5606 GB, free: 7.387 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.1423, allocations: 0 / 0.5606 GB, free: 7.387 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000139/0.1424, allocations: 97.56 kB / 0.5607 GB, free: 7.285 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1424, allocations: 8 kB / 0.5607 GB, free: 7.277 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1424, allocations: 0 / 0.5607 GB, free: 7.277 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.1425, allocations: 0 / 0.5607 GB, free: 7.277 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.1426, allocations: 23.98 kB / 0.5608 GB, free: 7.254 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1426, allocations: 4 kB / 0.5608 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.494e-05/0.1426, allocations: 4 kB / 0.5608 GB, free: 7.246 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.1426, allocations: 0 / 0.5608 GB, free: 7.246 MB / 430.1 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 7.89e-05/0.1427, allocations: 113.8 kB / 0.5609 GB, free: 7.125 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.1427, allocations: 11.86 kB / 0.5609 GB, free: 7.113 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001922/0.1429, allocations: 117.4 kB / 0.561 GB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1429, allocations: 0 / 0.561 GB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.143, allocations: 4 kB / 0.561 GB, free: 6.988 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.143, allocations: 4 kB / 0.561 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005058/0.1435, allocations: 350.5 kB / 0.5613 GB, free: 6.586 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1435, allocations: 0 / 0.5613 GB, free: 6.586 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.1436, allocations: 20 kB / 0.5614 GB, free: 6.566 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1436, allocations: 3.984 kB / 0.5614 GB, free: 6.562 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.1436, allocations: 4 kB / 0.5614 GB, free: 6.559 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1436, allocations: 0 / 0.5614 GB, free: 6.559 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1436, allocations: 0 / 0.5614 GB, free: 6.559 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.1439, allocations: 220.9 kB / 0.5616 GB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.144, allocations: 85 kB / 0.5617 GB, free: 6.227 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.144, allocations: 96 / 0.5617 GB, free: 6.227 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.968e-05/0.1441, allocations: 11.95 kB / 0.5617 GB, free: 6.215 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.159e-05/0.1441, allocations: 8 kB / 0.5617 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.1441, allocations: 0 / 0.5617 GB, free: 6.207 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.303e-05/0.1442, allocations: 83.27 kB / 0.5617 GB, free: 6.125 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1442, allocations: 160 / 0.5617 GB, free: 6.125 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.1445, allocations: 40 kB / 0.5618 GB, free: 6.086 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.0001904/0.1447, allocations: 123.9 kB / 0.5619 GB, free: 5.957 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001296/0.1448, allocations: 71.84 kB / 0.562 GB, free: 5.887 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1448, allocations: 0 / 0.562 GB, free: 5.887 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.859e-05/0.1449, allocations: 27.98 kB / 0.562 GB, free: 5.859 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.145, allocations: 13.88 kB / 0.562 GB, free: 5.852 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005318/0.1456, allocations: 332.6 kB / 0.5623 GB, free: 5.492 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.1459, allocations: 0.6926 MB / 0.563 GB, free: 4.773 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.46e-05/0.1459, allocations: 11.98 kB / 0.563 GB, free: 4.762 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.337e-05/0.146, allocations: 15.44 kB / 0.563 GB, free: 4.746 MB / 430.1 MB Notification: Performance of SimCode: time 2.41e-07/0.146, allocations: 0 / 0.563 GB, free: 4.746 MB / 430.1 MB Notification: Performance of Templates: time 0.002998/0.149, allocations: 0.8878 MB / 0.5639 GB, free: 3.891 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)