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.3431/0.3431, allocations: 54.34 MB / 66.89 MB, free: 6.09 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.001039/0.001039, allocations: 182.8 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.42/1.42, allocations: 194.2 MB / 288.6 MB, free: 15.07 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.001705/0.001706, allocations: 112.9 kB / 346.9 MB, free: 4.793 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.169e-05/3.173e-05, allocations: 4 kB / 412.4 MB, free: 21.47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1107, allocations: 57.64 MB / 470 MB, free: 11.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3829/0.4937, allocations: 85.8 MB / 0.5428 GB, free: 4.625 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/0.4939, allocations: 75.95 kB / 0.5429 GB, free: 4.551 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004808/0.4987, allocations: 1.649 MB / 0.5445 GB, free: 2.914 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4987, allocations: 0 / 0.5445 GB, free: 2.914 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.4988, allocations: 0 / 0.5445 GB, free: 2.914 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002741/0.499, allocations: 339 kB / 0.5448 GB, free: 2.539 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.4991, allocations: 8.031 kB / 0.5448 GB, free: 2.531 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.146e-05/0.4991, allocations: 3.906 kB / 0.5448 GB, free: 2.527 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.4993, allocations: 163.1 kB / 0.545 GB, free: 2.328 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.4993, allocations: 4 kB / 0.545 GB, free: 2.324 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.4993, allocations: 0 / 0.545 GB, free: 2.324 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003014/0.4996, allocations: 69.61 kB / 0.545 GB, free: 2.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.4996, allocations: 4 kB / 0.5451 GB, free: 2.246 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.4996, allocations: 0 / 0.5451 GB, free: 2.246 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.4997, allocations: 0 / 0.5451 GB, free: 2.246 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000234/0.4999, allocations: 43.95 kB / 0.5451 GB, free: 2.203 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.5001, allocations: 157.7 kB / 0.5452 GB, free: 2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003306/0.5004, allocations: 70.55 kB / 0.5453 GB, free: 1.922 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.394e-05/0.5005, allocations: 16.86 kB / 0.5453 GB, free: 1.902 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002479/0.5007, allocations: 113.2 kB / 0.5454 GB, free: 1.773 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.5007, allocations: 30.56 kB / 0.5455 GB, free: 1.734 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.5008, allocations: 0 / 0.5455 GB, free: 1.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.002127/0.5029, allocations: 0.5489 MB / 0.546 GB, free: 1.133 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.5029, allocations: 55.41 kB / 0.5461 GB, free: 1.066 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.032e-05/0.503, allocations: 96.94 kB / 0.5461 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.503, allocations: 25.7 kB / 0.5462 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.583e-05/0.5031, allocations: 80.14 kB / 0.5462 GB, free: 0.8516 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.5031, allocations: 23.7 kB / 0.5463 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-06/0.5031, allocations: 3.938 kB / 0.5463 GB, free: 0.8242 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.5032, allocations: 310.8 kB / 0.5466 GB, free: 0.5117 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.603e-05/0.5033, allocations: 16 kB / 0.5466 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.381e-05/0.5033, allocations: 20 kB / 0.5466 GB, free: 488 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.076e-05/0.5034, allocations: 15.98 kB / 0.5466 GB, free: 472 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.5034, allocations: 0 / 0.5466 GB, free: 472 kB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001255/0.5035, allocations: 73.67 kB / 0.5467 GB, free: 392 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.5035, allocations: 5.875 kB / 0.5467 GB, free: 388 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.5036, allocations: 3.953 kB / 0.5467 GB, free: 384 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.5036, allocations: 0 / 0.5467 GB, free: 384 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.5037, allocations: 23.98 kB / 0.5467 GB, free: 360 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.5037, allocations: 7.938 kB / 0.5467 GB, free: 352 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.858e-05/0.5038, allocations: 19.92 kB / 0.5467 GB, free: 332 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.5039, allocations: 0 / 0.5467 GB, free: 332 kB / 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 () * 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 6.925e-05/0.5039, allocations: 112.9 kB / 0.5469 GB, free: 212 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.504, allocations: 7.906 kB / 0.5469 GB, free: 204 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.081e-05/0.504, allocations: 4.094 kB / 0.5469 GB, free: 200 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.504, allocations: 3.953 kB / 0.5469 GB, free: 196 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.504, allocations: 8 kB / 0.5469 GB, free: 188 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.504, allocations: 0 / 0.5469 GB, free: 188 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004804/0.5045, allocations: 335.4 kB / 0.5472 GB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.5045, allocations: 0 / 0.5472 GB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.5047, allocations: 25.47 kB / 0.5472 GB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/0.5047, allocations: 11.98 kB / 0.5472 GB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.5047, allocations: 0 / 0.5472 GB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.5047, allocations: 0 / 0.5472 GB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5047, allocations: 0 / 0.5472 GB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.505, allocations: 206 kB / 0.5474 GB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.646e-05/0.505, allocations: 84.97 kB / 0.5475 GB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.5051, allocations: 8.203 kB / 0.5475 GB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.5052, allocations: 20.05 kB / 0.5475 GB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.013e-05/0.5052, allocations: 4 kB / 0.5475 GB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.5052, allocations: 4 kB / 0.5475 GB, free: 15.4 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.107e-05/0.5053, allocations: 79.28 kB / 0.5476 GB, free: 15.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5053, allocations: 0 / 0.5476 GB, free: 15.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002089/0.5055, allocations: 12 kB / 0.5476 GB, free: 15.31 MB / 394.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 () * 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.0001382/0.5056, allocations: 123.2 kB / 0.5477 GB, free: 15.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001252/0.5058, allocations: 35.94 kB / 0.5478 GB, free: 15.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.5058, allocations: 3.938 kB / 0.5478 GB, free: 15.14 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.175e-05/0.5058, allocations: 20 kB / 0.5478 GB, free: 15.12 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.506, allocations: 11.84 kB / 0.5478 GB, free: 15.11 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005657/0.5066, allocations: 214 kB / 0.548 GB, free: 14.88 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.5068, allocations: 0.6809 MB / 0.5487 GB, free: 14.17 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.325e-05/0.5069, allocations: 8 kB / 0.5487 GB, free: 14.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.069e-05/0.5069, allocations: 15.42 kB / 0.5487 GB, free: 14.14 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5069, allocations: 0 / 0.5487 GB, free: 14.14 MB / 394.7 MB Notification: Performance of Templates: time 0.002495/0.5094, allocations: 0.6425 MB / 0.5493 GB, free: 13.54 MB / 394.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)