Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 112.4 kB / 16.42 MB, free: 6.469 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.001764/0.001764, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7556/0.7556, allocations: 132.2 MB / 423.4 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 67.59 kB / 0.582 GB, free: 23.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1285, 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_DerivativeCheck): time 0.002149/0.1306, allocations: 1.26 MB / 0.6616 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.1317, allocations: 0.6229 MB / 0.6622 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.735e-05/0.1318, allocations: 0 / 0.6622 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.046e-05/0.1318, allocations: 3.938 kB / 0.6622 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.707e-05/0.1318, allocations: 4 kB / 0.6622 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005847/0.1324, allocations: 150.4 kB / 0.6623 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.359e-05/0.1325, allocations: 19.92 kB / 0.6623 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.048e-05/0.1325, allocations: 4 kB / 0.6623 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.031e-05/0.1326, allocations: 11.92 kB / 0.6624 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.987e-05/0.1326, allocations: 8 kB / 0.6624 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.1327, allocations: 0 / 0.6624 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005113/0.1332, allocations: 343.3 kB / 0.6627 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.1332, allocations: 4 kB / 0.6627 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.1332, allocations: 7.938 kB / 0.6627 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.1335, allocations: 151.6 kB / 0.6628 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1335, allocations: 4 kB / 0.6629 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1335, allocations: 0 / 0.6629 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.1335, allocations: 0 / 0.6629 GB, free: 7.688 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000472/0.134, allocations: 359.5 kB / 0.6632 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1341, allocations: 12.02 kB / 0.6632 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.1341, allocations: 8.844 kB / 0.6632 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.1342, allocations: 164.3 kB / 0.6634 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.1343, allocations: 384 / 0.6634 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.1343, allocations: 8.359 kB / 0.6634 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.1344, allocations: 49.56 kB / 0.6634 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1344, allocations: 0 / 0.6634 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.1344, allocations: 0 / 0.6634 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.1344, allocations: 4 kB / 0.6634 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.94e-05/0.1345, allocations: 11.98 kB / 0.6634 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001722/0.1346, allocations: 157.7 kB / 0.6636 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.1348, allocations: 42.5 kB / 0.6636 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.493e-05/0.1349, allocations: 20.86 kB / 0.6637 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.1349, allocations: 3.938 kB / 0.6637 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.1349, allocations: 34.56 kB / 0.6637 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.1349, allocations: 0 / 0.6637 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006124/0.1355, allocations: 310.3 kB / 0.664 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.1356, allocations: 51.41 kB / 0.664 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.1357, allocations: 97.86 kB / 0.6641 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.1357, allocations: 29.7 kB / 0.6642 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.158e-05/0.1358, allocations: 80.14 kB / 0.6642 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.1358, allocations: 23.7 kB / 0.6643 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.1358, allocations: 21.66 kB / 0.6643 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.1359, allocations: 310.8 kB / 0.6646 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.766e-05/0.136, allocations: 15.98 kB / 0.6646 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.389e-05/0.136, allocations: 15.94 kB / 0.6646 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.369e-05/0.1361, allocations: 33 kB / 0.6646 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1361, allocations: 8 kB / 0.6646 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001033/0.1362, allocations: 69.52 kB / 0.6647 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.1362, allocations: 8 kB / 0.6647 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.1362, allocations: 0 / 0.6647 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1362, allocations: 0 / 0.6647 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.183e-05/0.1363, allocations: 11.98 kB / 0.6647 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.1363, allocations: 0 / 0.6647 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.965e-05/0.1363, allocations: 7.938 kB / 0.6647 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.1363, allocations: 0 / 0.6647 GB, free: 5.488 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 (7): * Single equations (assignments): 7 * 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.954e-05/0.1364, allocations: 118.7 kB / 0.6648 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.276e-05/0.1364, allocations: 4.453 kB / 0.6649 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.1366, allocations: 73.58 kB / 0.6649 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1366, allocations: 0 / 0.6649 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.676e-06/0.1366, allocations: 0 / 0.6649 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.732e-05/0.1367, allocations: 97.02 kB / 0.665 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.1367, allocations: 0 / 0.665 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.24e-05/0.1367, allocations: 0 / 0.665 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.266e-05/0.1367, allocations: 4 kB / 0.665 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001573/0.1369, allocations: 153 kB / 0.6652 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002049/0.1371, allocations: 254.8 kB / 0.6654 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.134e-05/0.1372, allocations: 16.03 kB / 0.6654 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.045e-05/0.1372, allocations: 79.27 kB / 0.6655 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of Backend: time 2.9e-07/0.1372, allocations: 3.938 kB / 0.6655 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000516/0.1377, allocations: 158.3 kB / 0.6657 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0005439/0.1383, allocations: 0.6253 MB / 0.6663 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of Templates: time 0.003384/0.1417, allocations: 1.257 MB / 0.6675 GB, free: 2.578 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)