Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 113.3 kB / 16.42 MB, free: 6.016 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.001058/0.001058, allocations: 192.9 kB / 17.35 MB, free: 5.617 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.314/1.314, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7817/0.7817, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 68.11 kB / 0.582 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1281, allocations: 80.21 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002606/0.1307, allocations: 1.467 MB / 0.6618 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.1319, allocations: 0.6266 MB / 0.6624 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.582e-05/0.132, allocations: 0 / 0.6624 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.941e-05/0.1321, allocations: 7.938 kB / 0.6624 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.774e-05/0.1321, allocations: 15.91 kB / 0.6624 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006456/0.1328, allocations: 156.7 kB / 0.6626 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.441e-05/0.1329, allocations: 51.84 kB / 0.6626 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.258e-05/0.1329, allocations: 4 kB / 0.6626 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.987e-05/0.133, allocations: 23.92 kB / 0.6626 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.894e-05/0.1331, allocations: 23.91 kB / 0.6627 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.1331, allocations: 8 kB / 0.6627 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005154/0.1336, allocations: 347.3 kB / 0.663 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.418e-05/0.1336, allocations: 15.97 kB / 0.663 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.904e-05/0.1337, allocations: 23.81 kB / 0.663 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003117/0.134, allocations: 179.4 kB / 0.6632 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.134, allocations: 0 / 0.6632 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.859e-06/0.134, allocations: 0 / 0.6632 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.134, allocations: 3.938 kB / 0.6632 GB, free: 7.297 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005677/0.1346, allocations: 398.9 kB / 0.6636 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.1347, allocations: 16.02 kB / 0.6636 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.1347, allocations: 8.891 kB / 0.6636 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.1348, allocations: 160.4 kB / 0.6638 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.1349, allocations: 8.375 kB / 0.6638 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.1349, allocations: 8.375 kB / 0.6638 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002397/0.1352, allocations: 81.59 kB / 0.6639 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1352, allocations: 7.891 kB / 0.6639 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.1352, allocations: 0 / 0.6639 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1352, allocations: 8 kB / 0.6639 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002256/0.1354, allocations: 51.89 kB / 0.6639 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000552/0.136, allocations: 320.7 kB / 0.6642 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.1363, allocations: 86.47 kB / 0.6643 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.1364, allocations: 32.83 kB / 0.6644 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.1365, allocations: 0 / 0.6644 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.1365, allocations: 42.5 kB / 0.6644 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.1365, allocations: 4 kB / 0.6644 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001629/0.1381, allocations: 0.6448 MB / 0.665 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/0.1382, allocations: 51.41 kB / 0.6651 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.673e-05/0.1382, allocations: 101.9 kB / 0.6652 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.1383, allocations: 25.7 kB / 0.6652 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.153e-05/0.1383, allocations: 100.1 kB / 0.6653 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.1384, allocations: 43.56 kB / 0.6653 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.678e-05/0.1384, allocations: 25.72 kB / 0.6654 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.1385, allocations: 314.8 kB / 0.6657 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.1387, allocations: 31.98 kB / 0.6657 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.1388, allocations: 43.28 kB / 0.6657 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.1391, allocations: 68.83 kB / 0.6658 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1391, allocations: 0 / 0.6658 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003209/0.1394, allocations: 121.7 kB / 0.6659 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.1394, allocations: 5.406 kB / 0.6659 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.1394, allocations: 0 / 0.6659 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.1394, allocations: 0 / 0.6659 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.1396, allocations: 35.86 kB / 0.666 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.1396, allocations: 4 kB / 0.666 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.28e-05/0.1397, allocations: 11.98 kB / 0.666 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.1397, allocations: 0 / 0.666 GB, free: 4.176 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.605e-05/0.1398, allocations: 114.8 kB / 0.6661 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.321e-05/0.1398, allocations: 11.89 kB / 0.6661 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003713/0.1402, allocations: 129.5 kB / 0.6662 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1402, allocations: 3.938 kB / 0.6662 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1402, allocations: 0 / 0.6662 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-05/0.1403, allocations: 89.06 kB / 0.6663 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.1403, allocations: 4 kB / 0.6663 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.1404, allocations: 7.984 kB / 0.6663 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.877e-05/0.1405, allocations: 7.984 kB / 0.6663 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004149/0.1409, allocations: 192.9 kB / 0.6665 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005236/0.1414, allocations: 341.4 kB / 0.6668 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001319/0.1415, allocations: 40 kB / 0.6669 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.446e-05/0.1416, allocations: 79.28 kB / 0.6669 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of Backend: time 5.91e-07/0.1416, allocations: 0 / 0.6669 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006353/0.1422, allocations: 196.4 kB / 0.6671 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0006959/0.1429, allocations: 0.7322 MB / 0.6678 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of Templates: time 0.004183/0.1471, allocations: 1.755 MB / 0.6696 GB, free: 432 kB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)