Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001112/0.001112, allocations: 108.7 kB / 16.41 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.245/1.245, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7483/0.7483, allocations: 135.1 MB / 426.3 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 71.39 kB / 0.5863 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1335, allocations: 80.93 MB / 0.6653 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002191/0.1357, allocations: 1.265 MB / 0.6665 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.1368, allocations: 0.6191 MB / 0.6671 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.79e-05/0.1369, allocations: 3.938 kB / 0.6672 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.482e-05/0.1369, allocations: 3.984 kB / 0.6672 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.331e-05/0.137, allocations: 3.938 kB / 0.6672 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008396/0.1379, allocations: 153.8 kB / 0.6673 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.795e-05/0.1379, allocations: 23.92 kB / 0.6673 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.862e-05/0.138, allocations: 4 kB / 0.6673 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.895e-05/0.138, allocations: 19.92 kB / 0.6674 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.653e-05/0.1381, allocations: 11.92 kB / 0.6674 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.1381, allocations: 4 kB / 0.6674 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00053/0.1387, allocations: 347.3 kB / 0.6677 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.1387, allocations: 4 kB / 0.6677 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.233e-05/0.1387, allocations: 15.92 kB / 0.6677 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.139, allocations: 155.6 kB / 0.6679 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.139, allocations: 0 / 0.6679 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.139, allocations: 0 / 0.6679 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.139, allocations: 0 / 0.6679 GB, free: 3.148 MB / 0.4981 GB 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.0004068/0.1394, allocations: 367.4 kB / 0.6682 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.1395, allocations: 9.109 kB / 0.6682 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.424e-05/0.1395, allocations: 4.938 kB / 0.6682 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.1396, allocations: 172.2 kB / 0.6684 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.1397, allocations: 4.375 kB / 0.6684 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.1397, allocations: 8.359 kB / 0.6684 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.1398, allocations: 49.62 kB / 0.6685 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1398, allocations: 3.938 kB / 0.6685 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.1398, allocations: 4 kB / 0.6685 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1398, allocations: 4 kB / 0.6685 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.837e-05/0.1399, allocations: 23.97 kB / 0.6685 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001623/0.1401, allocations: 165.7 kB / 0.6686 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.1402, allocations: 54.56 kB / 0.6687 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.175e-05/0.1402, allocations: 28.84 kB / 0.6687 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.1403, allocations: 7.875 kB / 0.6687 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.1403, allocations: 42.5 kB / 0.6688 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 9.91e-07/0.1403, allocations: 0 / 0.6688 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001017/0.1413, allocations: 0.584 MB / 0.6693 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.1413, allocations: 51.41 kB / 0.6694 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.143e-05/0.1414, allocations: 101.9 kB / 0.6695 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.1414, allocations: 33.64 kB / 0.6695 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.827e-05/0.1415, allocations: 84.08 kB / 0.6696 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.1415, allocations: 39.36 kB / 0.6696 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.1416, allocations: 25.72 kB / 0.6697 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.788e-05/0.1417, allocations: 322.8 kB / 0.67 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.704e-05/0.1417, allocations: 16 kB / 0.67 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.696e-05/0.1418, allocations: 23.98 kB / 0.67 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.642e-05/0.1418, allocations: 64.03 kB / 0.6701 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1419, allocations: 0 / 0.6701 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001357/0.142, allocations: 101.6 kB / 0.6702 GB, free: 496 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.142, allocations: 4 kB / 0.6702 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.142, allocations: 0 / 0.6702 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.142, allocations: 0 / 0.6702 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.901e-05/0.1421, allocations: 23.98 kB / 0.6702 GB, free: 468 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.1422, allocations: 0 / 0.6702 GB, free: 468 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.591e-05/0.1422, allocations: 8 kB / 0.6702 GB, free: 460 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.1422, allocations: 4 kB / 0.6702 GB, free: 456 kB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.026e-05/0.1423, allocations: 125.7 kB / 0.6703 GB, free: 320 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.1423, allocations: 3.906 kB / 0.6703 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001762/0.1425, allocations: 113.6 kB / 0.6704 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1425, allocations: 0 / 0.6704 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.1425, allocations: 0 / 0.6704 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1425, allocations: 0 / 0.6704 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003532/0.1429, allocations: 354.5 kB / 0.6708 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1429, allocations: 0 / 0.6708 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.143, allocations: 19.98 kB / 0.6708 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.143, allocations: 4 kB / 0.6708 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.143, allocations: 4 kB / 0.6708 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.143, allocations: 0 / 0.6708 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.143, allocations: 0 / 0.6708 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.1432, allocations: 227.3 kB / 0.671 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 2.895e-05/0.1433, allocations: 77.11 kB / 0.6711 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.1433, allocations: 7.984 kB / 0.6711 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.202e-05/0.1434, allocations: 4 kB / 0.6711 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.95e-05/0.1434, allocations: 8.062 kB / 0.6711 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.1434, allocations: 7.938 kB / 0.6711 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.426e-05/0.1435, allocations: 83.27 kB / 0.6712 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1435, allocations: 0 / 0.6712 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002562/0.1437, allocations: 35.94 kB / 0.6712 GB, free: 15.29 MB / 0.5137 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001713/0.1439, allocations: 128.5 kB / 0.6714 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001385/0.144, allocations: 63.86 kB / 0.6714 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1441, allocations: 4.094 kB / 0.6714 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.915e-05/0.1441, allocations: 43.86 kB / 0.6715 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.1443, allocations: 4 kB / 0.6715 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000486/0.1448, allocations: 318.3 kB / 0.6718 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.1451, allocations: 0.6885 MB / 0.6724 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.951e-05/0.1451, allocations: 11.44 kB / 0.6725 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.1451, allocations: 3.938 kB / 0.6725 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of Templates: time 0.00263/0.1477, allocations: 1.123 MB / 0.6736 GB, free: 12.84 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)