Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001105/0.001105, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.4 MB / 222.1 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3905/0.3905, allocations: 54.98 MB / 325.4 MB, free: 0.7344 MB / 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.0008057/0.0008058, allocations: 12 kB / 396.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3351, allocations: 60.72 MB / 457.3 MB, free: 38.35 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001214/0.3363, allocations: 0.9666 MB / 458.3 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005154/0.3369, allocations: 314.8 kB / 458.6 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.354e-05/0.3369, allocations: 2.625 kB / 458.6 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.34e-05/0.337, allocations: 0 / 458.6 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.979e-05/0.337, allocations: 7.078 kB / 458.6 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.3373, allocations: 67.64 kB / 458.7 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.776e-05/0.3374, allocations: 15.59 kB / 458.7 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.594e-05/0.3375, allocations: 2.016 kB / 458.7 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.712e-05/0.3375, allocations: 14.91 kB / 458.7 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.976e-05/0.3376, allocations: 6.047 kB / 458.7 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.3376, allocations: 0 / 458.7 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003001/0.3379, allocations: 210.1 kB / 458.9 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.068e-05/0.3379, allocations: 2.875 kB / 458.9 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.931e-05/0.3379, allocations: 28.94 kB / 458.9 MB, free: 38.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.3381, allocations: 55.91 kB / 459 MB, free: 38.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.3381, allocations: 1.75 kB / 459 MB, free: 38.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3381, allocations: 0 / 459 MB, free: 38.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.3381, allocations: 1.656 kB / 459 MB, free: 38.26 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.0003104/0.3384, allocations: 334.4 kB / 459.3 MB, free: 37.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.3384, allocations: 9.781 kB / 459.3 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.3385, allocations: 4.562 kB / 459.3 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.668e-05/0.3386, allocations: 177.5 kB / 459.5 MB, free: 37.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.3386, allocations: 1.406 kB / 459.5 MB, free: 37.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.3386, allocations: 3 kB / 459.5 MB, free: 37.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006078/0.3392, allocations: 129.9 kB / 459.6 MB, free: 37.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3393, allocations: 0 / 459.6 MB, free: 37.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.3393, allocations: 0 / 459.6 MB, free: 37.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.3393, allocations: 0 / 459.6 MB, free: 37.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004824/0.3398, allocations: 101.7 kB / 459.7 MB, free: 37.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000137/0.3399, allocations: 161.4 kB / 459.9 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005904/0.3405, allocations: 128.6 kB / 460 MB, free: 37.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003054/0.3408, allocations: 121.2 kB / 460.1 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.3409, allocations: 35.34 kB / 460.2 MB, free: 37.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.3409, allocations: 0 / 460.2 MB, free: 37.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.004626/0.3455, allocations: 1.085 MB / 461.3 MB, free: 37.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.3456, allocations: 54.22 kB / 461.3 MB, free: 36.99 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.316e-05/0.3456, allocations: 101.5 kB / 461.4 MB, free: 36.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.3456, allocations: 25.7 kB / 461.4 MB, free: 36.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.786e-05/0.3457, allocations: 80.14 kB / 461.5 MB, free: 36.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.3457, allocations: 24.28 kB / 461.5 MB, free: 36.76 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-06/0.3457, allocations: 0 / 461.5 MB, free: 36.76 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.065e-05/0.3458, allocations: 324 kB / 461.9 MB, free: 36.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/0.346, allocations: 68.33 kB / 461.9 MB, free: 36.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.3463, allocations: 72.94 kB / 462 MB, free: 36.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.3466, allocations: 76.02 kB / 462.1 MB, free: 36.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3466, allocations: 0 / 462.1 MB, free: 36.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005608/0.3471, allocations: 183.6 kB / 462.2 MB, free: 36.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3472, allocations: 5.594 kB / 462.2 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.3472, allocations: 0 / 462.2 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3472, allocations: 0 / 462.2 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.3474, allocations: 47.08 kB / 462.3 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3475, allocations: 1 kB / 462.3 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.3476, allocations: 30.44 kB / 462.3 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.3476, allocations: 6.75 kB / 462.3 MB, free: 36.38 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.871e-05/0.3477, allocations: 115.2 kB / 462.4 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.3477, allocations: 4 kB / 462.4 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.137e-05/0.3478, allocations: 14.31 kB / 462.5 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3478, allocations: 0.5625 kB / 462.5 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3478, allocations: 0 / 462.5 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.3478, allocations: 0.9375 kB / 462.5 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008869/0.3487, allocations: 472.3 kB / 462.9 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.3487, allocations: 0 / 462.9 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.3489, allocations: 60.75 kB / 463 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.3489, allocations: 0 / 463 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.349, allocations: 0 / 463 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.349, allocations: 0 / 463 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.349, allocations: 8.391 kB / 463 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008446/0.3498, allocations: 368.5 kB / 463.4 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.584e-05/0.3499, allocations: 83.5 kB / 463.4 MB, free: 35.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.3499, allocations: 4.438 kB / 463.4 MB, free: 35.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.3501, allocations: 30.34 kB / 463.5 MB, free: 35.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.412e-05/0.3501, allocations: 14.48 kB / 463.5 MB, free: 35.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.3502, allocations: 2.938 kB / 463.5 MB, free: 35.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.17e-05/0.3502, allocations: 81.08 kB / 463.6 MB, free: 35.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3502, allocations: 0 / 463.6 MB, free: 35.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002352/0.3504, allocations: 14.66 kB / 463.6 MB, free: 35.59 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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 8.37e-05/0.3505, allocations: 100.8 kB / 463.7 MB, free: 35.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005716/0.3511, allocations: 148.8 kB / 463.8 MB, free: 35.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3511, allocations: 0 / 463.8 MB, free: 35.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002773/0.3514, allocations: 82.45 kB / 463.9 MB, free: 35.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.3516, allocations: 3.75 kB / 463.9 MB, free: 35.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.3527, allocations: 405.7 kB / 464.3 MB, free: 35.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.3528, allocations: 0.6856 MB / 465 MB, free: 34.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.162e-05/0.3529, allocations: 6.844 kB / 465 MB, free: 34.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.567e-05/0.3529, allocations: 16.67 kB / 465 MB, free: 34.6 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3529, allocations: 0 / 465 MB, free: 34.6 MB / 382.1 MB Notification: Performance of Templates: time 0.002663/0.3556, allocations: 0.7533 MB / 465.8 MB, free: 34.56 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) Environment - environmentSimulation: