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_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4357/0.4357, allocations: 55.01 MB / 69.96 MB, free: 8.648 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.001629/0.001629, allocations: 197.7 kB / 83.98 MB, free: 10.81 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.029/2.029, allocations: 194.4 MB / 292.3 MB, free: 3.621 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.001811/0.001811, allocations: 112.3 kB / 350.7 MB, free: 9.117 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003975/0.0003975, allocations: 12 kB / 418.9 MB, free: 37.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1604, allocations: 57.65 MB / 476.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5009/0.6614, allocations: 86.01 MB / 0.5493 GB, free: 3.336 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/0.6617, allocations: 81.02 kB / 0.5494 GB, free: 3.289 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005751/0.6675, allocations: 2.153 MB / 0.5515 GB, free: 1.434 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.6675, allocations: 0 / 0.5515 GB, free: 1.434 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.6675, allocations: 0 / 0.5515 GB, free: 1.434 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002996/0.6678, allocations: 351.1 kB / 0.5519 GB, free: 1.047 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.6679, allocations: 12.03 kB / 0.5519 GB, free: 1.035 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.274e-05/0.6679, allocations: 0 / 0.5519 GB, free: 1.035 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.854e-05/0.668, allocations: 163.1 kB / 0.552 GB, free: 0.8359 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.668, allocations: 4 kB / 0.552 GB, free: 0.832 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.6681, allocations: 7.688 kB / 0.552 GB, free: 0.8281 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003532/0.6684, allocations: 90.16 kB / 0.5521 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.6685, allocations: 7.906 kB / 0.5521 GB, free: 0.7344 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.6685, allocations: 3.984 kB / 0.5521 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.6685, allocations: 3.938 kB / 0.5521 GB, free: 0.7266 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000242/0.6687, allocations: 58.89 kB / 0.5522 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001541/0.6689, allocations: 172.3 kB / 0.5524 GB, free: 476 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/0.6692, allocations: 99.83 kB / 0.5525 GB, free: 380 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002367/0.6694, allocations: 109.1 kB / 0.5526 GB, free: 252 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.6695, allocations: 36.7 kB / 0.5526 GB, free: 212 kB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.6695, allocations: 0 / 0.5526 GB, free: 212 kB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.005202/0.6747, allocations: 1.311 MB / 0.5539 GB, free: 14.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.6748, allocations: 59.34 kB / 0.5539 GB, free: 14.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.027e-05/0.6748, allocations: 85 kB / 0.554 GB, free: 14.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.6749, allocations: 32.95 kB / 0.554 GB, free: 14.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.741e-05/0.6749, allocations: 80.14 kB / 0.5541 GB, free: 14.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.081e-05/0.675, allocations: 41.02 kB / 0.5542 GB, free: 14.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.628e-06/0.675, allocations: 3.344 kB / 0.5542 GB, free: 14.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.6751, allocations: 322.9 kB / 0.5545 GB, free: 14.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.6753, allocations: 65.77 kB / 0.5545 GB, free: 14.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.6755, allocations: 74.38 kB / 0.5546 GB, free: 14.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/0.6757, allocations: 66.09 kB / 0.5547 GB, free: 14.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.6758, allocations: 4 kB / 0.5547 GB, free: 14.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004719/0.6762, allocations: 193.6 kB / 0.5549 GB, free: 13.92 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.6763, allocations: 8 kB / 0.5549 GB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.6763, allocations: 3.953 kB / 0.5549 GB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.6763, allocations: 0 / 0.5549 GB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002621/0.6766, allocations: 43.91 kB / 0.5549 GB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.6766, allocations: 4.312 kB / 0.5549 GB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.6768, allocations: 27.95 kB / 0.5549 GB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.6768, allocations: 3.688 kB / 0.5549 GB, free: 13.83 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 (13): * Single equations (assignments): 13 * 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.0001305/0.6769, allocations: 114.5 kB / 0.5551 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.6769, allocations: 4 kB / 0.5551 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.593e-05/0.677, allocations: 11.78 kB / 0.5551 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.677, allocations: 3.953 kB / 0.5551 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.677, allocations: 7.938 kB / 0.5551 GB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.6771, allocations: 3.984 kB / 0.5551 GB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008404/0.6779, allocations: 462.9 kB / 0.5555 GB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.6779, allocations: 0 / 0.5555 GB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/0.6782, allocations: 47.91 kB / 0.5556 GB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.6782, allocations: 4 kB / 0.5556 GB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.6782, allocations: 0 / 0.5556 GB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.6782, allocations: 3.984 kB / 0.5556 GB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.6782, allocations: 0 / 0.5556 GB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007368/0.679, allocations: 368 kB / 0.5559 GB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-05/0.679, allocations: 81.02 kB / 0.556 GB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.6791, allocations: 3.953 kB / 0.556 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.6793, allocations: 27.73 kB / 0.556 GB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.6793, allocations: 7.984 kB / 0.556 GB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.6793, allocations: 4 kB / 0.556 GB, free: 12.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.173e-05/0.6794, allocations: 75.28 kB / 0.5561 GB, free: 12.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6794, allocations: 0 / 0.5561 GB, free: 12.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002426/0.6796, allocations: 23.81 kB / 0.5561 GB, free: 12.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (11): * Single equations (assignments): 11 * 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.0001963/0.6798, allocations: 106.7 kB / 0.5562 GB, free: 12.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004597/0.6803, allocations: 160.5 kB / 0.5564 GB, free: 12.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6803, allocations: 0 / 0.5564 GB, free: 12.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002115/0.6805, allocations: 82.88 kB / 0.5565 GB, free: 12.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.6807, allocations: 11.86 kB / 0.5565 GB, free: 12.28 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.6821, allocations: 0.5244 MB / 0.557 GB, free: 11.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.6824, allocations: 0.6926 MB / 0.5577 GB, free: 11.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001117/0.6825, allocations: 11.95 kB / 0.5577 GB, free: 11.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.934e-05/0.6826, allocations: 23.42 kB / 0.5577 GB, free: 10.98 MB / 378.7 MB Notification: Performance of SimCode: time 3.8e-07/0.6826, allocations: 0 / 0.5577 GB, free: 10.98 MB / 378.7 MB Notification: Performance of Templates: time 0.002914/0.6855, allocations: 0.8133 MB / 0.5585 GB, free: 10.2 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)