Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006275/0.006275, allocations: 100.4 kB / 15.73 MB, free: 5.988 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.001398/0.001398, allocations: 192.5 kB / 16.67 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.707/1.707, allocations: 205.1 MB / 222.5 MB, free: 4.367 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.429/0.429, allocations: 54.93 MB / 324.8 MB, free: 44 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 77.27 kB / 456.3 MB, free: 38.2 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.146, allocations: 59.58 MB / 0.5038 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.00328/0.1493, allocations: 1.255 MB / 0.505 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.1505, allocations: 0.5359 MB / 0.5056 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.751e-05/0.1505, allocations: 0 / 0.5056 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.713e-05/0.1506, allocations: 0 / 0.5056 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.055e-05/0.1507, allocations: 5.469 kB / 0.5056 GB, free: 8.086 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000822/0.1515, allocations: 124.8 kB / 0.5057 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.075e-05/0.1516, allocations: 21.55 kB / 0.5057 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.511e-05/0.1517, allocations: 6.062 kB / 0.5057 GB, free: 7.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.887e-05/0.1517, allocations: 11.66 kB / 0.5057 GB, free: 7.973 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.764e-05/0.1518, allocations: 7.766 kB / 0.5057 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.1518, allocations: 0 / 0.5057 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006403/0.1525, allocations: 351.1 kB / 0.5061 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.878e-05/0.1525, allocations: 13.23 kB / 0.5061 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.943e-05/0.1525, allocations: 4.312 kB / 0.5061 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003375/0.1529, allocations: 135.4 kB / 0.5062 GB, free: 7.684 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1529, allocations: 1.375 kB / 0.5062 GB, free: 7.684 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.1529, allocations: 3.984 kB / 0.5062 GB, free: 7.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.1529, allocations: 0 / 0.5062 GB, free: 7.68 MB / 382.1 MB 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.00043/0.1534, allocations: 354.5 kB / 0.5066 GB, free: 7.297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.1534, allocations: 9.625 kB / 0.5066 GB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.877e-05/0.1535, allocations: 2.312 kB / 0.5066 GB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.1536, allocations: 169.7 kB / 0.5067 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.1536, allocations: 1.75 kB / 0.5067 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.1536, allocations: 5.734 kB / 0.5067 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003766/0.154, allocations: 69.53 kB / 0.5068 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.154, allocations: 192 / 0.5068 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.154, allocations: 9.312 kB / 0.5068 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.1541, allocations: 0 / 0.5068 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002636/0.1543, allocations: 47.3 kB / 0.5069 GB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001788/0.1545, allocations: 159.2 kB / 0.507 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004261/0.155, allocations: 76.88 kB / 0.5071 GB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.211e-05/0.155, allocations: 19.67 kB / 0.5071 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002736/0.1553, allocations: 109.7 kB / 0.5072 GB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.1553, allocations: 31.94 kB / 0.5072 GB, free: 6.594 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.633e-06/0.1553, allocations: 0 / 0.5072 GB, free: 6.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.002646/0.158, allocations: 0.6009 MB / 0.5078 GB, free: 6.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.158, allocations: 52.78 kB / 0.5079 GB, free: 6.098 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.046e-05/0.1581, allocations: 97.92 kB / 0.508 GB, free: 5.996 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.1581, allocations: 25.7 kB / 0.508 GB, free: 5.965 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.857e-05/0.1581, allocations: 85.73 kB / 0.5081 GB, free: 5.879 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.1582, allocations: 22.48 kB / 0.5081 GB, free: 5.859 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.1582, allocations: 18.78 kB / 0.5081 GB, free: 5.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.752e-05/0.1583, allocations: 320.3 kB / 0.5084 GB, free: 5.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.1584, allocations: 29.25 kB / 0.5085 GB, free: 5.508 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.1585, allocations: 35.36 kB / 0.5085 GB, free: 5.492 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/0.1587, allocations: 73.97 kB / 0.5086 GB, free: 5.453 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1587, allocations: 1.281 kB / 0.5086 GB, free: 5.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002817/0.159, allocations: 107 kB / 0.5087 GB, free: 5.387 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.1591, allocations: 9.094 kB / 0.5087 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1591, allocations: 4 kB / 0.5087 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.1591, allocations: 1.062 kB / 0.5087 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.1592, allocations: 18.8 kB / 0.5087 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.1592, allocations: 1.031 kB / 0.5087 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.885e-05/0.1593, allocations: 17.36 kB / 0.5087 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.497e-06/0.1593, allocations: 2.75 kB / 0.5087 GB, free: 5.363 MB / 382.1 MB 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 6.114e-05/0.1594, allocations: 115.3 kB / 0.5088 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/0.1594, allocations: 5.906 kB / 0.5088 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.707e-05/0.1595, allocations: 11.97 kB / 0.5088 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1595, allocations: 1.406 kB / 0.5088 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1595, allocations: 0 / 0.5088 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1595, allocations: 1.312 kB / 0.5088 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005306/0.16, allocations: 370.3 kB / 0.5092 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.16, allocations: 8.031 kB / 0.5092 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.1602, allocations: 19.61 kB / 0.5092 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.1602, allocations: 0 / 0.5092 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.1602, allocations: 5.281 kB / 0.5092 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1602, allocations: 1.125 kB / 0.5092 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1602, allocations: 1.219 kB / 0.5092 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004374/0.1607, allocations: 247.5 kB / 0.5095 GB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.421e-05/0.1607, allocations: 85.12 kB / 0.5095 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.1607, allocations: 4 kB / 0.5095 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.1609, allocations: 15.92 kB / 0.5096 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.826e-05/0.1609, allocations: 0 / 0.5096 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.1609, allocations: 11.92 kB / 0.5096 GB, free: 4.504 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.007e-05/0.1609, allocations: 83.33 kB / 0.5097 GB, free: 4.422 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1609, allocations: 0 / 0.5097 GB, free: 4.422 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002314/0.1612, allocations: 16 kB / 0.5097 GB, free: 4.406 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 9.713e-05/0.1613, allocations: 95.25 kB / 0.5098 GB, free: 4.305 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002927/0.1616, allocations: 87.84 kB / 0.5098 GB, free: 4.219 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1616, allocations: 4 kB / 0.5098 GB, free: 4.215 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.1617, allocations: 35.97 kB / 0.5099 GB, free: 4.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.1619, allocations: 7.938 kB / 0.5099 GB, free: 4.172 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007636/0.1627, allocations: 267.9 kB / 0.5101 GB, free: 3.883 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.1629, allocations: 0.6807 MB / 0.5108 GB, free: 3.176 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.174e-05/0.163, allocations: 8 kB / 0.5108 GB, free: 3.168 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.184e-05/0.163, allocations: 15.42 kB / 0.5108 GB, free: 3.152 MB / 382.1 MB Notification: Performance of SimCode: time 1.152e-06/0.163, allocations: 0 / 0.5108 GB, free: 3.152 MB / 382.1 MB Notification: Performance of Templates: time 0.002947/0.166, allocations: 0.7079 MB / 0.5115 GB, free: 2.484 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)