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/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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/Annex60 1.0.0/package.mo): time 0.4316/0.4316, allocations: 55.01 MB / 69.96 MB, free: 8.676 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001624/0.001624, allocations: 189.8 kB / 83.97 MB, free: 10.86 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.013/2.013, allocations: 194.4 MB / 292.3 MB, free: 3.594 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00206/0.002059, allocations: 112.3 kB / 350.7 MB, free: 9.105 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005785/0.0005786, allocations: 12 kB / 418.9 MB, free: 37.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1416, allocations: 57.66 MB / 476.5 MB, free: 11.29 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4885/0.6302, allocations: 85.88 MB / 0.5492 GB, free: 3.477 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/0.6306, allocations: 84.02 kB / 0.5493 GB, free: 3.426 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004716/0.6353, allocations: 1.642 MB / 0.5509 GB, free: 1.996 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.997e-06/0.6354, allocations: 0 / 0.5509 GB, free: 1.996 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.6354, allocations: 0 / 0.5509 GB, free: 1.996 MB / 362.7 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.0004018/0.6358, allocations: 347.6 kB / 0.5512 GB, free: 1.613 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.307e-05/0.6359, allocations: 11.97 kB / 0.5513 GB, free: 1.602 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.484e-05/0.6359, allocations: 4 kB / 0.5513 GB, free: 1.598 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.6361, allocations: 163.1 kB / 0.5514 GB, free: 1.398 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.6361, allocations: 4.812 kB / 0.5514 GB, free: 1.395 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/0.6362, allocations: 4 kB / 0.5514 GB, free: 1.391 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000439/0.6366, allocations: 85.47 kB / 0.5515 GB, free: 1.305 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.6366, allocations: 0 / 0.5515 GB, free: 1.305 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.6366, allocations: 0 / 0.5515 GB, free: 1.305 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.6367, allocations: 0 / 0.5515 GB, free: 1.305 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002559/0.6369, allocations: 51.64 kB / 0.5516 GB, free: 1.258 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002291/0.6372, allocations: 159.9 kB / 0.5517 GB, free: 1.059 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004252/0.6376, allocations: 89.36 kB / 0.5518 GB, free: 0.9688 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002693/0.6379, allocations: 109.2 kB / 0.5519 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.6379, allocations: 30.56 kB / 0.5519 GB, free: 0.8047 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.6379, allocations: 0 / 0.5519 GB, free: 0.8047 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.002749/0.6407, allocations: 0.6997 MB / 0.5526 GB, free: 96 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.6407, allocations: 51.41 kB / 0.5527 GB, free: 32 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.6409, allocations: 96.98 kB / 0.5527 GB, free: 15.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.6409, allocations: 25.7 kB / 0.5528 GB, free: 15.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.191e-05/0.641, allocations: 80.14 kB / 0.5529 GB, free: 15.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.975e-05/0.641, allocations: 22.78 kB / 0.5529 GB, free: 15.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-06/0.641, allocations: 3.312 kB / 0.5529 GB, free: 15.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.6412, allocations: 314.8 kB / 0.5532 GB, free: 15.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.6414, allocations: 45.66 kB / 0.5532 GB, free: 15.44 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.6415, allocations: 35.47 kB / 0.5533 GB, free: 15.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.6416, allocations: 46.59 kB / 0.5533 GB, free: 15.37 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.6416, allocations: 0 / 0.5533 GB, free: 15.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002968/0.6419, allocations: 132.8 kB / 0.5534 GB, free: 15.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.642, allocations: 4 kB / 0.5534 GB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.642, allocations: 0 / 0.5534 GB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.642, allocations: 3.953 kB / 0.5534 GB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.6422, allocations: 27.97 kB / 0.5535 GB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.6422, allocations: 0 / 0.5535 GB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.6423, allocations: 23.92 kB / 0.5535 GB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.6423, allocations: 0 / 0.5535 GB, free: 15.2 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.6424, allocations: 113.7 kB / 0.5536 GB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.6424, allocations: 0 / 0.5536 GB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.1e-05/0.6425, allocations: 7.844 kB / 0.5536 GB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.6425, allocations: 11.89 kB / 0.5536 GB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.6425, allocations: 0 / 0.5536 GB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.6425, allocations: 0 / 0.5536 GB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007637/0.6433, allocations: 388.9 kB / 0.554 GB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.6433, allocations: 3.938 kB / 0.554 GB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.6435, allocations: 27.92 kB / 0.554 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.6435, allocations: 3.953 kB / 0.554 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.6435, allocations: 7.984 kB / 0.554 GB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.6435, allocations: 0 / 0.554 GB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.6435, allocations: 0 / 0.554 GB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006127/0.6442, allocations: 281.3 kB / 0.5543 GB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.261e-05/0.6443, allocations: 85.09 kB / 0.5544 GB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.6443, allocations: 2.938 kB / 0.5544 GB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.6444, allocations: 19.97 kB / 0.5544 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/0.6445, allocations: 4.062 kB / 0.5544 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.6445, allocations: 7.938 kB / 0.5544 GB, free: 14.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.453e-05/0.6446, allocations: 78.73 kB / 0.5545 GB, free: 14.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6446, allocations: 0 / 0.5545 GB, free: 14.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002385/0.6448, allocations: 12 kB / 0.5545 GB, free: 14.11 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002627/0.6451, allocations: 110.5 kB / 0.5546 GB, free: 13.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003641/0.6455, allocations: 90.69 kB / 0.5547 GB, free: 13.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/0.6455, allocations: 0 / 0.5547 GB, free: 13.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.6456, allocations: 55.59 kB / 0.5547 GB, free: 13.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/0.6458, allocations: 3.984 kB / 0.5547 GB, free: 13.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009138/0.6467, allocations: 307.2 kB / 0.555 GB, free: 13.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.6472, allocations: 0.6887 MB / 0.5557 GB, free: 12.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.517e-05/0.6472, allocations: 4 kB / 0.5557 GB, free: 12.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.957e-05/0.6473, allocations: 11.44 kB / 0.5557 GB, free: 12.81 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6473, allocations: 4 kB / 0.5557 GB, free: 12.8 MB / 378.7 MB Notification: Performance of Templates: time 0.003566/0.6509, allocations: 0.6259 MB / 0.5563 GB, free: 12.21 MB / 378.7 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)