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.00126/0.00126, allocations: 107.1 kB / 16.41 MB, free: 6.52 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.001304/0.001304, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.242/1.242, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7505/0.7505, allocations: 135.1 MB / 426.4 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 66.58 kB / 0.5863 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1396, allocations: 80.92 MB / 0.6653 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002059/0.1417, allocations: 1.281 MB / 0.6666 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009472/0.1426, allocations: 0.6113 MB / 0.6672 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.002e-05/0.1427, allocations: 0 / 0.6672 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.524e-05/0.1427, allocations: 3.938 kB / 0.6672 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.838e-05/0.1428, allocations: 3.938 kB / 0.6672 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005714/0.1433, allocations: 155.4 kB / 0.6673 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.252e-05/0.1434, allocations: 23.92 kB / 0.6673 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.703e-05/0.1435, allocations: 4 kB / 0.6673 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.321e-05/0.1435, allocations: 15.92 kB / 0.6674 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.365e-05/0.1436, allocations: 19.92 kB / 0.6674 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.1436, allocations: 0 / 0.6674 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004528/0.144, allocations: 347.3 kB / 0.6677 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.257e-05/0.144, allocations: 4 kB / 0.6677 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.386e-05/0.1441, allocations: 15.92 kB / 0.6677 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.1443, allocations: 151.5 kB / 0.6679 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1443, allocations: 0 / 0.6679 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1443, allocations: 0 / 0.6679 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.1444, allocations: 0 / 0.6679 GB, free: 3.285 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.0003895/0.1448, allocations: 375.1 kB / 0.6682 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1448, allocations: 9.109 kB / 0.6682 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/0.1448, allocations: 8.891 kB / 0.6682 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.1449, allocations: 164.4 kB / 0.6684 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.145, allocations: 4.375 kB / 0.6684 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.145, allocations: 4.375 kB / 0.6684 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.1451, allocations: 49.62 kB / 0.6685 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1451, allocations: 0 / 0.6685 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.1451, allocations: 4 kB / 0.6685 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1452, allocations: 3.938 kB / 0.6685 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.042e-05/0.1452, allocations: 27.92 kB / 0.6685 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001639/0.1454, allocations: 173.5 kB / 0.6687 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.66e-05/0.1455, allocations: 58.56 kB / 0.6687 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.083e-05/0.1455, allocations: 32.78 kB / 0.6687 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.1456, allocations: 3.938 kB / 0.6687 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.1456, allocations: 38.55 kB / 0.6688 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.1456, allocations: 7.938 kB / 0.6688 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.00103/0.1466, allocations: 0.5724 MB / 0.6694 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.1467, allocations: 55.34 kB / 0.6694 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.028e-05/0.1467, allocations: 101.9 kB / 0.6695 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.1468, allocations: 25.7 kB / 0.6695 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.464e-05/0.1468, allocations: 80.14 kB / 0.6696 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.908e-05/0.1468, allocations: 51.56 kB / 0.6697 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.1469, allocations: 25.7 kB / 0.6697 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.114e-05/0.147, allocations: 318.8 kB / 0.67 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.277e-05/0.147, allocations: 19.98 kB / 0.67 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.699e-05/0.1471, allocations: 27.12 kB / 0.67 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.076e-05/0.1472, allocations: 56.97 kB / 0.6701 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1472, allocations: 7.938 kB / 0.6701 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001465/0.1473, allocations: 93.62 kB / 0.6702 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.1473, allocations: 4 kB / 0.6702 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1473, allocations: 0 / 0.6702 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1474, allocations: 0 / 0.6702 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.1475, allocations: 23.98 kB / 0.6702 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.1475, allocations: 0 / 0.6702 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.641e-05/0.1475, allocations: 4 kB / 0.6702 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.1475, allocations: 4 kB / 0.6702 GB, free: 0.582 MB / 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.44e-05/0.1476, allocations: 125.7 kB / 0.6703 GB, free: 460 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.565e-05/0.1476, allocations: 3.953 kB / 0.6703 GB, free: 456 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001923/0.1478, allocations: 117.6 kB / 0.6704 GB, free: 332 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1478, allocations: 0 / 0.6704 GB, free: 332 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1478, allocations: 0 / 0.6704 GB, free: 332 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.247e-05/0.1479, allocations: 81.06 kB / 0.6705 GB, free: 232 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.1479, allocations: 4 kB / 0.6705 GB, free: 228 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.106e-05/0.148, allocations: 7.984 kB / 0.6705 GB, free: 220 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.93e-05/0.148, allocations: 7.938 kB / 0.6705 GB, free: 212 kB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002218/0.1482, allocations: 180.9 kB / 0.6707 GB, free: 24 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002722/0.1485, allocations: 294.7 kB / 0.671 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.736e-05/0.1486, allocations: 28.11 kB / 0.671 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.752e-05/0.1486, allocations: 83.2 kB / 0.6711 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of Backend: time 3.8e-07/0.1486, allocations: 0 / 0.6711 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000512/0.1491, allocations: 188.2 kB / 0.6713 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0005584/0.1497, allocations: 0.7201 MB / 0.672 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of Templates: time 0.003685/0.1534, allocations: 1.525 MB / 0.6735 GB, free: 13.14 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)