Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001072/0.001072, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001095/0.001095, allocations: 186.1 kB / 17.35 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.283/1.283, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.761/0.761, allocations: 132.2 MB / 423.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.53 kB / 0.582 GB, free: 23.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1219, allocations: 80.2 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002028/0.124, allocations: 1.275 MB / 0.6616 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009187/0.1249, allocations: 0.6269 MB / 0.6622 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.021e-05/0.1249, allocations: 0 / 0.6622 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.422e-05/0.125, allocations: 0 / 0.6622 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.449e-05/0.125, allocations: 3.938 kB / 0.6622 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004869/0.1255, allocations: 151.4 kB / 0.6623 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.361e-05/0.1256, allocations: 23.92 kB / 0.6624 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.778e-05/0.1256, allocations: 4 kB / 0.6624 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.203e-05/0.1256, allocations: 19.92 kB / 0.6624 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.236e-05/0.1257, allocations: 15.92 kB / 0.6624 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.1257, allocations: 4 kB / 0.6624 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004768/0.1262, allocations: 339.3 kB / 0.6627 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.564e-05/0.1262, allocations: 11.97 kB / 0.6627 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.483e-05/0.1262, allocations: 11.94 kB / 0.6628 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.1265, allocations: 159.5 kB / 0.6629 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.1265, allocations: 0 / 0.6629 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1265, allocations: 0 / 0.6629 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.1265, allocations: 0 / 0.6629 GB, free: 7.633 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.0003697/0.1269, allocations: 367.5 kB / 0.6633 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.1269, allocations: 8.031 kB / 0.6633 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.127, allocations: 8.844 kB / 0.6633 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.783e-05/0.1271, allocations: 164.3 kB / 0.6634 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.1271, allocations: 384 / 0.6634 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.1271, allocations: 8.375 kB / 0.6634 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.1272, allocations: 57.55 kB / 0.6635 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1272, allocations: 0 / 0.6635 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.1273, allocations: 4 kB / 0.6635 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.1273, allocations: 4 kB / 0.6635 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.391e-05/0.1273, allocations: 15.98 kB / 0.6635 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001568/0.1275, allocations: 165.7 kB / 0.6637 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.1276, allocations: 58.5 kB / 0.6637 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.343e-05/0.1276, allocations: 40.78 kB / 0.6638 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.1277, allocations: 3.938 kB / 0.6638 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.1277, allocations: 38.56 kB / 0.6638 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.123e-06/0.1277, allocations: 0 / 0.6638 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001033/0.1287, allocations: 0.5797 MB / 0.6644 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.1288, allocations: 59.41 kB / 0.6644 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.148e-05/0.1288, allocations: 97.8 kB / 0.6645 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.1289, allocations: 29.7 kB / 0.6646 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.099e-05/0.1289, allocations: 88.12 kB / 0.6646 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.1289, allocations: 31.47 kB / 0.6647 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/0.129, allocations: 29.7 kB / 0.6647 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1291, allocations: 310.8 kB / 0.665 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.176e-05/0.1291, allocations: 23.98 kB / 0.665 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.578e-05/0.1292, allocations: 23.98 kB / 0.665 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.832e-05/0.1293, allocations: 60.92 kB / 0.6651 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1293, allocations: 3.938 kB / 0.6651 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001412/0.1294, allocations: 100.9 kB / 0.6652 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1295, allocations: 8 kB / 0.6652 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1295, allocations: 320 / 0.6652 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.1295, allocations: 0 / 0.6652 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.778e-05/0.1296, allocations: 16 kB / 0.6652 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.1296, allocations: 4 kB / 0.6652 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.561e-05/0.1296, allocations: 3.984 kB / 0.6652 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.1296, allocations: 3.984 kB / 0.6652 GB, free: 4.945 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 6.92e-05/0.1297, allocations: 130.6 kB / 0.6654 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.1297, allocations: 7.906 kB / 0.6654 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001806/0.1299, allocations: 97.58 kB / 0.6655 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1299, allocations: 3.984 kB / 0.6655 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1299, allocations: 4 kB / 0.6655 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.033e-05/0.13, allocations: 85.02 kB / 0.6655 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.13, allocations: 0 / 0.6655 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.863e-05/0.1301, allocations: 8 kB / 0.6656 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.097e-05/0.1301, allocations: 11.92 kB / 0.6656 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002203/0.1303, allocations: 180.9 kB / 0.6657 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002496/0.1306, allocations: 297.4 kB / 0.666 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.519e-05/0.1306, allocations: 27.98 kB / 0.666 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.757e-05/0.1307, allocations: 83.22 kB / 0.6661 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of Backend: time 2.8e-07/0.1307, allocations: 0 / 0.6661 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004873/0.1312, allocations: 185 kB / 0.6663 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of SimCode: time 0.000528/0.1317, allocations: 0.7127 MB / 0.667 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of Templates: time 0.003507/0.1352, allocations: 1.532 MB / 0.6685 GB, free: 1.52 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)