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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009153/0.0009154, allocations: 99.78 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.001047/0.001047, allocations: 177.3 kB / 15.95 MB, free: 216 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.491/1.491, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3812/0.3812, allocations: 54.98 MB / 325.4 MB, free: 0.7109 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.0005152/0.0005153, allocations: 16 kB / 396.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2913, allocations: 60.71 MB / 457.3 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001111/0.2924, allocations: 0.9833 MB / 458.3 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004388/0.2929, allocations: 242.1 kB / 458.5 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.266e-05/0.2929, allocations: 1.25 kB / 458.5 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.67e-05/0.293, allocations: 0 / 458.5 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.282e-05/0.293, allocations: 6.062 kB / 458.5 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.2933, allocations: 48.09 kB / 458.6 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.09e-05/0.2933, allocations: 12.38 kB / 458.6 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.636e-05/0.2934, allocations: 6.938 kB / 458.6 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.659e-05/0.2934, allocations: 10.75 kB / 458.6 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.536e-05/0.2935, allocations: 6.688 kB / 458.6 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.2935, allocations: 0 / 458.6 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000222/0.2937, allocations: 158 kB / 458.8 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.768e-06/0.2938, allocations: 1.469 kB / 458.8 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.51e-05/0.2938, allocations: 28.8 kB / 458.8 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.2939, allocations: 46.02 kB / 458.9 MB, free: 38.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.2939, allocations: 0 / 458.9 MB, free: 38.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2939, allocations: 0.9688 kB / 458.9 MB, free: 38.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.2939, allocations: 1.969 kB / 458.9 MB, free: 38.19 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.0003118/0.2942, allocations: 337.2 kB / 459.2 MB, free: 37.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.2943, allocations: 8.875 kB / 459.2 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.2943, allocations: 5.469 kB / 459.2 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.505e-05/0.2944, allocations: 170.8 kB / 459.4 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.2944, allocations: 3.469 kB / 459.4 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.2945, allocations: 0.6094 kB / 459.4 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003713/0.2948, allocations: 85.39 kB / 459.5 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.2949, allocations: 0.75 kB / 459.5 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/0.2949, allocations: 0.625 kB / 459.5 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.2949, allocations: 3.969 kB / 459.5 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002482/0.2952, allocations: 50.23 kB / 459.5 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001382/0.2953, allocations: 164.3 kB / 459.7 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003871/0.2957, allocations: 84.67 kB / 459.8 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002667/0.296, allocations: 120 kB / 459.9 MB, free: 37.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.296, allocations: 40.2 kB / 459.9 MB, free: 37.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.296, allocations: 0 / 459.9 MB, free: 37.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.002583/0.2986, allocations: 0.7078 MB / 460.6 MB, free: 37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.2987, allocations: 51.41 kB / 460.7 MB, free: 36.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.728e-05/0.2987, allocations: 99.97 kB / 460.8 MB, free: 36.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.2987, allocations: 32.27 kB / 460.8 MB, free: 36.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.021e-05/0.2988, allocations: 84.78 kB / 460.9 MB, free: 36.72 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.2988, allocations: 25.44 kB / 460.9 MB, free: 36.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.712e-06/0.2988, allocations: 0 / 460.9 MB, free: 36.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.637e-05/0.2989, allocations: 316.4 kB / 461.2 MB, free: 36.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.299, allocations: 40.33 kB / 461.3 MB, free: 36.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.2992, allocations: 45.5 kB / 461.3 MB, free: 36.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.2993, allocations: 39.67 kB / 461.3 MB, free: 36.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.2993, allocations: 4 kB / 461.3 MB, free: 36.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002781/0.2996, allocations: 119.8 kB / 461.5 MB, free: 36.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.2996, allocations: 5.531 kB / 461.5 MB, free: 36.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.2996, allocations: 4 kB / 461.5 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.2996, allocations: 0 / 461.5 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.2998, allocations: 26.41 kB / 461.5 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.2998, allocations: 5.156 kB / 461.5 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.818e-05/0.2999, allocations: 20.22 kB / 461.5 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.2999, allocations: 3.938 kB / 461.5 MB, free: 36.34 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.528e-05/0.2999, allocations: 112.8 kB / 461.6 MB, free: 36.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.3, allocations: 2.844 kB / 461.6 MB, free: 36.22 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.586e-05/0.3, allocations: 11.78 kB / 461.6 MB, free: 36.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3, allocations: 0 / 461.6 MB, free: 36.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3, allocations: 0 / 461.6 MB, free: 36.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.3, allocations: 0 / 461.6 MB, free: 36.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005226/0.3006, allocations: 398.5 kB / 462 MB, free: 35.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3006, allocations: 0 / 462 MB, free: 35.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.3007, allocations: 32.84 kB / 462.1 MB, free: 35.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.3007, allocations: 3.281 kB / 462.1 MB, free: 35.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.3007, allocations: 4.688 kB / 462.1 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3007, allocations: 2.969 kB / 462.1 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3008, allocations: 4.891 kB / 462.1 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004498/0.3012, allocations: 275.2 kB / 462.3 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.559e-05/0.3013, allocations: 83.72 kB / 462.4 MB, free: 35.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.3013, allocations: 0 / 462.4 MB, free: 35.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.3014, allocations: 22.39 kB / 462.5 MB, free: 35.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.007e-05/0.3014, allocations: 6.531 kB / 462.5 MB, free: 35.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.3015, allocations: 3.375 kB / 462.5 MB, free: 35.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.339e-05/0.3015, allocations: 82.58 kB / 462.5 MB, free: 35.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3015, allocations: 0 / 462.5 MB, free: 35.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002309/0.3017, allocations: 12.56 kB / 462.6 MB, free: 35.55 MB / 382.1 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 9.392e-05/0.3018, allocations: 100.8 kB / 462.7 MB, free: 35.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002977/0.3021, allocations: 94.91 kB / 462.7 MB, free: 35.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3021, allocations: 0 / 462.7 MB, free: 35.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.3023, allocations: 52.06 kB / 462.8 MB, free: 35.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/0.3024, allocations: 3.234 kB / 462.8 MB, free: 35.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007114/0.3032, allocations: 321.2 kB / 463.1 MB, free: 35.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.3033, allocations: 0.6842 MB / 463.8 MB, free: 34.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.179e-05/0.3034, allocations: 6.719 kB / 463.8 MB, free: 34.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.967e-05/0.3034, allocations: 14.31 kB / 463.8 MB, free: 34.57 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3034, allocations: 4 kB / 463.8 MB, free: 34.57 MB / 382.1 MB Notification: Performance of Templates: time 0.002384/0.3058, allocations: 0.6382 MB / 464.5 MB, free: 34.55 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: