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.00161/0.00161, allocations: 112.1 kB / 16.42 MB, free: 6.496 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.001923/0.001923, allocations: 188.3 kB / 17.35 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.366/1.366, allocations: 222.9 MB / 241.1 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.7906/0.7906, allocations: 135.1 MB / 426.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 67.83 kB / 0.5863 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1255, allocations: 80.91 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.001908/0.1274, allocations: 1.279 MB / 0.6666 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008764/0.1283, allocations: 0.6113 MB / 0.6671 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.98e-05/0.1284, allocations: 0 / 0.6671 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.601e-05/0.1284, allocations: 0 / 0.6671 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.499e-05/0.1284, allocations: 3.938 kB / 0.6672 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004869/0.1289, allocations: 139.4 kB / 0.6673 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.85e-05/0.129, allocations: 27.91 kB / 0.6673 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.498e-05/0.129, allocations: 0 / 0.6673 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.424e-05/0.1291, allocations: 7.938 kB / 0.6673 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.635e-05/0.1291, allocations: 15.98 kB / 0.6673 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.1291, allocations: 0 / 0.6673 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004618/0.1296, allocations: 347.3 kB / 0.6677 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.307e-06/0.1296, allocations: 0 / 0.6677 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.238e-05/0.1296, allocations: 11.94 kB / 0.6677 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.1299, allocations: 147.5 kB / 0.6678 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1299, allocations: 4 kB / 0.6678 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1299, allocations: 0 / 0.6678 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.1299, allocations: 4 kB / 0.6678 GB, free: 3.215 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.0003435/0.1303, allocations: 359.1 kB / 0.6682 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.1303, allocations: 13.11 kB / 0.6682 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.1303, allocations: 0.9375 kB / 0.6682 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.197e-05/0.1304, allocations: 168.3 kB / 0.6683 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.1305, allocations: 4.375 kB / 0.6683 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.1305, allocations: 384 / 0.6683 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.573e-05/0.1306, allocations: 45.62 kB / 0.6684 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.1306, allocations: 7.875 kB / 0.6684 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.1306, allocations: 0 / 0.6684 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1306, allocations: 0 / 0.6684 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.123e-05/0.1307, allocations: 23.92 kB / 0.6684 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001409/0.1308, allocations: 153.7 kB / 0.6686 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.131, allocations: 42.61 kB / 0.6686 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.402e-05/0.131, allocations: 20.94 kB / 0.6686 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.131, allocations: 3.938 kB / 0.6686 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.1311, allocations: 34.56 kB / 0.6687 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1311, allocations: 4 kB / 0.6687 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0005413/0.1316, allocations: 302.2 kB / 0.669 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.1317, allocations: 55.41 kB / 0.669 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.31e-05/0.1317, allocations: 97.84 kB / 0.6691 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.1317, allocations: 25.7 kB / 0.6691 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.589e-05/0.1318, allocations: 80.14 kB / 0.6692 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.1318, allocations: 23.8 kB / 0.6692 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.1318, allocations: 25.7 kB / 0.6693 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.306e-05/0.1319, allocations: 318.8 kB / 0.6696 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.493e-05/0.1319, allocations: 7.984 kB / 0.6696 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.384e-05/0.132, allocations: 19.97 kB / 0.6696 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.428e-05/0.132, allocations: 32.86 kB / 0.6696 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.132, allocations: 0 / 0.6696 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.472e-05/0.1321, allocations: 69.56 kB / 0.6697 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.1322, allocations: 5.719 kB / 0.6697 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1322, allocations: 0 / 0.6697 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.1322, allocations: 4 kB / 0.6697 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.296e-05/0.1322, allocations: 15.98 kB / 0.6697 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1323, allocations: 64 / 0.6697 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.012e-05/0.1323, allocations: 8 kB / 0.6697 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.1323, allocations: 0 / 0.6697 GB, free: 1.016 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 5.954e-05/0.1323, allocations: 109.8 kB / 0.6698 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.283e-05/0.1324, allocations: 7.891 kB / 0.6698 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.1325, allocations: 81.58 kB / 0.6699 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.1325, allocations: 0 / 0.6699 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1325, allocations: 4 kB / 0.6699 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.066e-05/0.1326, allocations: 77.11 kB / 0.67 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.1326, allocations: 7.938 kB / 0.67 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.029e-05/0.1326, allocations: 3.984 kB / 0.67 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.541e-05/0.1327, allocations: 0 / 0.67 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001541/0.1328, allocations: 144.9 kB / 0.6701 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001822/0.133, allocations: 254.7 kB / 0.6704 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.257e-05/0.1331, allocations: 20.53 kB / 0.6704 GB, free: 268 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.688e-05/0.1331, allocations: 87.2 kB / 0.6705 GB, free: 180 kB / 0.4981 GB Notification: Performance of Backend: time 2.01e-07/0.1331, allocations: 0 / 0.6705 GB, free: 180 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004621/0.1336, allocations: 166.1 kB / 0.6706 GB, free: 8 kB / 0.4981 GB Notification: Performance of SimCode: time 0.000451/0.134, allocations: 0.6292 MB / 0.6712 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of Templates: time 0.00316/0.1372, allocations: 1.239 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)