Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001324/0.001324, allocations: 113.1 kB / 16.42 MB, free: 6.508 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.001338/0.001338, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.262/1.262, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7632/0.7632, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 66.64 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1232, allocations: 80.92 MB / 0.6653 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002096/0.1253, allocations: 1.273 MB / 0.6665 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009183/0.1263, allocations: 0.6113 MB / 0.6671 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.953e-05/0.1263, allocations: 0 / 0.6671 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.366e-05/0.1263, allocations: 0 / 0.6671 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.102e-05/0.1264, allocations: 7.922 kB / 0.6672 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005121/0.1269, allocations: 143.4 kB / 0.6673 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.083e-05/0.127, allocations: 19.92 kB / 0.6673 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.415e-05/0.127, allocations: 0 / 0.6673 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.435e-05/0.127, allocations: 15.92 kB / 0.6673 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.908e-05/0.1271, allocations: 7.984 kB / 0.6673 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.1271, allocations: 8 kB / 0.6673 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004481/0.1276, allocations: 343.3 kB / 0.6677 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.716e-06/0.1276, allocations: 0 / 0.6677 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.273e-05/0.1276, allocations: 11.94 kB / 0.6677 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.1278, allocations: 147.5 kB / 0.6678 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1278, allocations: 0 / 0.6678 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1279, allocations: 0 / 0.6678 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.1279, allocations: 0 / 0.6678 GB, free: 3.219 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.0003695/0.1282, allocations: 363.1 kB / 0.6682 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.1283, allocations: 13.11 kB / 0.6682 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.695e-05/0.1283, allocations: 0.9375 kB / 0.6682 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.335e-05/0.1284, allocations: 168.3 kB / 0.6683 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.1284, allocations: 384 / 0.6683 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.1284, allocations: 384 / 0.6683 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.1286, allocations: 49.56 kB / 0.6684 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1286, allocations: 0 / 0.6684 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.1286, allocations: 3.938 kB / 0.6684 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.1286, allocations: 0 / 0.6684 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.769e-05/0.1286, allocations: 15.98 kB / 0.6684 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001499/0.1288, allocations: 161.7 kB / 0.6686 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.129, allocations: 50.55 kB / 0.6686 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.999e-05/0.129, allocations: 12.86 kB / 0.6686 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.129, allocations: 12.02 kB / 0.6686 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.129, allocations: 34.55 kB / 0.6687 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1291, allocations: 0 / 0.6687 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.00054/0.1296, allocations: 306.3 kB / 0.669 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.18e-05/0.1296, allocations: 55.34 kB / 0.669 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.025e-05/0.1297, allocations: 97.84 kB / 0.6691 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.1297, allocations: 29.7 kB / 0.6691 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.825e-05/0.1297, allocations: 84.14 kB / 0.6692 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.1298, allocations: 15.8 kB / 0.6692 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.1298, allocations: 21.72 kB / 0.6692 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.214e-05/0.1299, allocations: 322.8 kB / 0.6696 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.634e-05/0.1299, allocations: 12 kB / 0.6696 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.663e-05/0.13, allocations: 7.984 kB / 0.6696 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.404e-05/0.13, allocations: 36.8 kB / 0.6696 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.13, allocations: 0 / 0.6696 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.45e-05/0.1301, allocations: 69.77 kB / 0.6697 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.1302, allocations: 4 kB / 0.6697 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1302, allocations: 80 / 0.6697 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1302, allocations: 4 kB / 0.6697 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.958e-05/0.1302, allocations: 12.06 kB / 0.6697 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1302, allocations: 7.984 kB / 0.6697 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.1303, allocations: 4 kB / 0.6697 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.1303, allocations: 4 kB / 0.6697 GB, free: 1.012 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.118e-05/0.1304, allocations: 113.8 kB / 0.6698 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.493e-05/0.1304, allocations: 11.89 kB / 0.6698 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.1305, allocations: 69.66 kB / 0.6699 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.1305, allocations: 0 / 0.6699 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.1305, allocations: 0 / 0.6699 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/0.1306, allocations: 89.09 kB / 0.67 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.1306, allocations: 0 / 0.67 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.805e-05/0.1307, allocations: 3.938 kB / 0.67 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.533e-05/0.1307, allocations: 7.984 kB / 0.67 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001445/0.1308, allocations: 144.8 kB / 0.6701 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001848/0.131, allocations: 250.8 kB / 0.6704 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.172e-05/0.1311, allocations: 16.08 kB / 0.6704 GB, free: 268 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.178e-05/0.1311, allocations: 83.28 kB / 0.6705 GB, free: 184 kB / 0.4981 GB Notification: Performance of Backend: time 4.91e-07/0.1311, allocations: 0 / 0.6705 GB, free: 184 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004709/0.1316, allocations: 167.9 kB / 0.6706 GB, free: 12 kB / 0.4981 GB Notification: Performance of SimCode: time 0.0004742/0.1321, allocations: 0.6335 MB / 0.6712 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of Templates: time 0.003222/0.1353, allocations: 1.249 MB / 0.6725 GB, free: 14.09 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)