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.2855/0.2855, allocations: 54.33 MB / 66.89 MB, free: 6.098 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.001124/0.001124, allocations: 184.1 kB / 80.71 MB, free: 15.39 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.762/1.762, allocations: 194.2 MB / 288.6 MB, free: 15 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001611/0.001611, allocations: 111.8 kB / 346.9 MB, free: 4.73 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.167e-05/3.172e-05, allocations: 7.984 kB / 412.4 MB, free: 21.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1156, allocations: 57.65 MB / 470 MB, free: 11.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3601/0.4758, allocations: 85.92 MB / 0.5429 GB, free: 4.539 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/0.4761, allocations: 83.94 kB / 0.543 GB, free: 4.457 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006331/0.4824, allocations: 2.151 MB / 0.5451 GB, free: 2.316 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4824, allocations: 0 / 0.5451 GB, free: 2.316 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.4825, allocations: 0 / 0.5451 GB, free: 2.316 MB / 378.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.0003139/0.4828, allocations: 343 kB / 0.5454 GB, free: 1.938 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.4828, allocations: 12.03 kB / 0.5454 GB, free: 1.926 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.4829, allocations: 0 / 0.5454 GB, free: 1.926 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.483, allocations: 171.1 kB / 0.5456 GB, free: 1.719 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.483, allocations: 0 / 0.5456 GB, free: 1.719 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.4831, allocations: 4 kB / 0.5456 GB, free: 1.715 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/0.4834, allocations: 89.53 kB / 0.5457 GB, free: 1.621 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.4834, allocations: 0 / 0.5457 GB, free: 1.621 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.4834, allocations: 4 kB / 0.5457 GB, free: 1.617 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.4834, allocations: 0 / 0.5457 GB, free: 1.617 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000211/0.4837, allocations: 43.97 kB / 0.5457 GB, free: 1.574 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002027/0.4839, allocations: 173.5 kB / 0.5459 GB, free: 1.355 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002757/0.4842, allocations: 86.55 kB / 0.546 GB, free: 1.262 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.794e-05/0.4842, allocations: 28.84 kB / 0.546 GB, free: 1.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002418/0.4845, allocations: 109.1 kB / 0.5461 GB, free: 1.105 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.4845, allocations: 42.5 kB / 0.5462 GB, free: 1.055 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.4845, allocations: 0 / 0.5462 GB, free: 1.055 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.003894/0.4884, allocations: 1.024 MB / 0.5472 GB, free: 15.93 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.4885, allocations: 59.39 kB / 0.5472 GB, free: 15.86 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.026e-05/0.4885, allocations: 93 kB / 0.5473 GB, free: 15.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.4886, allocations: 25.7 kB / 0.5473 GB, free: 15.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.266e-05/0.4886, allocations: 80.14 kB / 0.5474 GB, free: 15.65 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.805e-05/0.4887, allocations: 39.45 kB / 0.5474 GB, free: 15.61 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.315e-06/0.4887, allocations: 0 / 0.5474 GB, free: 15.61 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.4888, allocations: 318.8 kB / 0.5477 GB, free: 15.29 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.179e-05/0.4889, allocations: 28.12 kB / 0.5478 GB, free: 15.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.337e-05/0.4889, allocations: 35.98 kB / 0.5478 GB, free: 15.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.256e-05/0.489, allocations: 24 kB / 0.5478 GB, free: 15.21 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.489, allocations: 0 / 0.5478 GB, free: 15.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001922/0.4892, allocations: 114.2 kB / 0.5479 GB, free: 15.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.4892, allocations: 7.953 kB / 0.5479 GB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.4893, allocations: 96 / 0.5479 GB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.4893, allocations: 7.875 kB / 0.548 GB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.4895, allocations: 47.95 kB / 0.548 GB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.4896, allocations: 0 / 0.548 GB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.4897, allocations: 23.98 kB / 0.548 GB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.4897, allocations: 4 kB / 0.548 GB, free: 15 MB / 394.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 () * 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 7.718e-05/0.4898, allocations: 105 kB / 0.5481 GB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.796e-05/0.4898, allocations: 4 kB / 0.5481 GB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.158e-05/0.4899, allocations: 20.03 kB / 0.5482 GB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4899, allocations: 0 / 0.5482 GB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4899, allocations: 0 / 0.5482 GB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4899, allocations: 4 kB / 0.5482 GB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005122/0.4904, allocations: 390.2 kB / 0.5485 GB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.4904, allocations: 3.953 kB / 0.5485 GB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/0.4907, allocations: 47.97 kB / 0.5486 GB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4907, allocations: 0 / 0.5486 GB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.4907, allocations: 0 / 0.5486 GB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4907, allocations: 0 / 0.5486 GB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.4907, allocations: 7.938 kB / 0.5486 GB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/0.4911, allocations: 245.1 kB / 0.5488 GB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.626e-05/0.4911, allocations: 89 kB / 0.5489 GB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.4912, allocations: 0 / 0.5489 GB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.4914, allocations: 28.03 kB / 0.5489 GB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.418e-05/0.4914, allocations: 8 kB / 0.5489 GB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.4914, allocations: 0 / 0.5489 GB, free: 13.98 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.158e-05/0.4914, allocations: 83.27 kB / 0.549 GB, free: 13.89 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4915, allocations: 0 / 0.549 GB, free: 13.89 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002176/0.4917, allocations: 20 kB / 0.549 GB, free: 13.88 MB / 394.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 () * 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.0001813/0.4919, allocations: 111.3 kB / 0.5491 GB, free: 13.76 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001898/0.4921, allocations: 83.67 kB / 0.5492 GB, free: 13.68 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4921, allocations: 0 / 0.5492 GB, free: 13.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.64e-05/0.4922, allocations: 43.94 kB / 0.5493 GB, free: 13.64 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.4923, allocations: 7.859 kB / 0.5493 GB, free: 13.63 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.4934, allocations: 398.9 kB / 0.5497 GB, free: 13.21 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.4937, allocations: 0.6887 MB / 0.5503 GB, free: 12.5 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.4938, allocations: 19.94 kB / 0.5503 GB, free: 12.48 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.137e-05/0.4938, allocations: 15.44 kB / 0.5504 GB, free: 12.46 MB / 394.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4939, allocations: 0 / 0.5504 GB, free: 12.46 MB / 394.7 MB Notification: Performance of Templates: time 0.002976/0.4968, allocations: 0.8402 MB / 0.5512 GB, free: 11.66 MB / 394.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)